数学建模社区-数学中国
标题:
mahtematica中的一道计算题
[打印本页]
作者:
ingmuy
时间:
2015-1-20 20:25
标题:
mahtematica中的一道计算题
本帖最后由 ingmuy 于 2015-1-20 20:25 编辑
4 r$ `7 C& k4 U( R! D
! V8 e# D! q- V, H' \
A matrix can be rotated by performing a number of successive operations. Rotate the
% s! q: U0 l& ] ` M/ y
matrix {{1,2,3},{4,5,6}} clockwise by 90 degrees, obtaining
! S3 G! y9 \6 Q! t3 g# G
{{4,1},{5,2},{6,3}}, in two steps. Use TableForm to display the results.
/ I1 b7 E5 G) U6 U% S1 x
0 F; c+ M. r$ @! O4 T
使用apply,而不是map.
' O8 v* H) l% g0 M6 Y
作法如下:
( W& y5 z q- q; U* b
* ^6 f2 j: T/ `* f6 ?2 G; x* M4 t
未命名.bmp
(1.26 MB, 下载次数: 328)
2015-1-20 20:23 上传
点击文件名下载附件
作法
作者:
402
时间:
2015-1-21 08:05
好玩的呢
5 D; f' k2 {+ Y1 f
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5