24小时热门版块排行榜    

查看: 1506  |  回复: 5

truewz

至尊木虫 (文坛精英)

[交流] 【求助】(在线等)maple中这个符号矩阵为什么生不成? 已有3人参与

一个30X30的符号矩阵,请高手指点,谢谢

[ Last edited by truewz on 2010-6-7 at 17:04 ]
回复此楼
扫地虫
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

urion

铁杆木虫 (职业作家)

zzuwangshilei:积极参与 2010-06-06 15:53:05
truewz(金币+1): 2010-06-06 15:55:41
你的字符没有定义变量吧
2楼2010-06-06 15:12:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

truewz

至尊木虫 (文坛精英)

zzuwangshilei:积极参与 2010-06-06 15:53:23
引用回帖:
Originally posted by urion at 2010-06-06 15:12:43:
你的字符没有定义变量吧

楼上的,估计不是这个原因,我设置了另一个类似的矩阵可以生成,并未预先定义字符变量
Q:=matrix([[cos(alpha), f*j*k*sin(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [cos(alpha), f*j*k*sin(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [cos(alpha), f*j*k*sin(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0],
           [-sin(alpha),cos(alpha),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ex_2,ex_1,0,0,0,0,0,0,0,0,0,0,0]]);
扫地虫
3楼2010-06-06 15:28:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

maplesim

★ ★
robert2020(金币+2):多谢提供解答,欢迎常来仿真模拟版交流! 2010-06-07 22:20:17
首先不能用D作为变量名,你可以看到错误信息,D是Maple内部的微分算子。

所以可以用DD:= Matrix(........)


输出:

双击上面的输出,显示矩阵内容:


检查数据类型:
type(DD, Matrix);
                        true

用鼠标右键点击上面的矩阵,可以从右键菜单中选择要进行的操作。
4楼2010-06-07 13:25:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

maplesim


robert2020(金币+1):多谢提供解答,欢迎常来仿真模拟版交流! 2010-06-07 22:20:36
此外,matrix命令早已经在最近几个Maple版本中废弃。
如果在帮助中输入matrix,可以得到下面的信息。
Important: The matrix command has been deprecated.  Use the superseding command Matrix instead.
5楼2010-06-07 13:29:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

maplesim

truewz(金币+9):非常感谢,我试一试 2010-06-07 14:18:20
robert2020:多谢提供解答,欢迎常来仿真模拟版交流! 2010-06-07 22:20:51
6楼2010-06-07 13:48:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 truewz 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学调剂 +4 妮妮ninicgb 2026-03-15 7/350 2026-03-16 09:43 by 闲人终南山
[考研] 304求调剂 +4 素年祭语 2026-03-15 4/200 2026-03-16 09:42 by 闲人终南山
[考研] 中科院材料273求调剂 +3 yzydy 2026-03-15 3/150 2026-03-15 21:15 by ms629
[考研] 085601材料工程315分求调剂 +3 yang_0104 2026-03-15 3/150 2026-03-15 10:58 by peike
[考研] 289求调剂 +5 步川酷紫123 2026-03-11 5/250 2026-03-15 00:45 by kruisytel
[考研] 材料与化工(0856)304求B区调剂 +7 邱gl 2026-03-10 11/550 2026-03-14 12:18 by 邱gl
[考研] 328,0703考生求调剂,一志愿为东北师范大学 +4 观素律 2026-03-09 5/250 2026-03-14 01:24 by JourneyLucky
[考研] 云南财经大学信息学院计算机学硕专硕学位点 +3 zjptai 2026-03-10 5/250 2026-03-14 01:23 by 飞行琦
[考研] 考研材料与化工,求调剂 +8 戏精丹丹丹 2026-03-09 8/400 2026-03-14 01:14 by JourneyLucky
[考研] 招收0805(材料)调剂 +3 18595523086 2026-03-13 3/150 2026-03-14 00:33 by 123%、
[考研] 321求调剂 +3 CUcat 2026-03-10 3/150 2026-03-14 00:25 by JourneyLucky
[考研] 0805,333求调剂 +3 112253525 2026-03-10 3/150 2026-03-13 23:42 by JourneyLucky
[考研] 085600调剂 +5 漾漾123sun 2026-03-12 5/250 2026-03-13 22:06 by 星空星月
[考研] 材料工程调剂 +4 咪咪空空 2026-03-11 4/200 2026-03-13 19:57 by JourneyLucky
[考研] 285求调剂 +4 ytter 2026-03-12 4/200 2026-03-13 14:48 by jxchenghu
[考研] 070303一志愿西北大学学硕310找调剂 +3 d如愿上岸 2026-03-12 5/250 2026-03-13 10:56 by houyaoxu
[考研] 纺织、生物、化学、材料相关专业招生了 +4 耶耶业 2026-03-09 7/350 2026-03-12 19:05 by Equinoxhua
[考研] 研究生招生 +3 徐海涛11 2026-03-10 7/350 2026-03-12 14:26 by 徐海涛11
[考研] 279求调剂 +3 莫xiao 2026-03-10 4/200 2026-03-11 08:06 by 斩魂滴兔子!
[考研] 0856材料与化工353分求调剂 +11 NIFFFfff 2026-03-09 11/550 2026-03-10 18:36 by suyuanhai
信息提示
请填处理意见