Info
此问题已关闭。 请重新打开它进行编辑或回答。
Some question to understand MuPad
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I've in base workspace a symbolic matrix:
R03 =
[ cos(t2 + t3)*cos(t1), -sin(t2 + t3)*cos(t1), sin(t1)]
[ cos(t2 + t3)*sin(t1), -sin(t2 + t3)*sin(t1), -cos(t1)]
[ sin(t2 + t3), cos(t2 + t3), 0]
I want write it in MuPad, so, following this guide http://www.mathworks.it/it/help/symbolic/copy-variables-and-expressions-between-matlab-and-mupad.html
I create a test-MPNotebook-file, I create a notebook handle as:
nb = mupad(file_name);
and I write:
setVar(nb,R03)
but it doesn't appear. When I write in the notebook:
anames(All, User)
it is in the notebook but as:
{R03}
What is the correct way to print the matrix R03 (with its symbolic expressions) in the MuPad ?
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!