数学建模社区-数学中国
标题:
mahtematica中的一道计算题
[打印本页]
作者:
ingmuy
时间:
2015-1-20 20:25
标题:
mahtematica中的一道计算题
本帖最后由 ingmuy 于 2015-1-20 20:25 编辑
$ C; R& k8 d# c# y/ F
2 n* z& N8 u7 p* Y1 t
A matrix can be rotated by performing a number of successive operations. Rotate the
* P! _0 q! X6 Y+ W
matrix {{1,2,3},{4,5,6}} clockwise by 90 degrees, obtaining
: I! q9 e4 @) d5 z
{{4,1},{5,2},{6,3}}, in two steps. Use TableForm to display the results.
/ R& V/ o U) j8 b# S! q; Q8 W
u' }& p9 o1 b$ x/ n
使用apply,而不是map.
9 {* L3 I D! s' E+ ]. x, ?
作法如下:
# [: O4 X/ p5 g4 s( r p1 `4 {
2 b* a5 \# t6 W7 S9 x; f( B
未命名.bmp
(1.26 MB, 下载次数: 313)
2015-1-20 20:23 上传
点击文件名下载附件
作法
作者:
402
时间:
2015-1-21 08:05
好玩的呢
; v( o% p) r$ R, K& F" s% `
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5