但实际使用中,除非真的需要四个符号变量做符号计算,这种搞n1 n2 n3 n4的写法,在数值运算中,一般直接写作向量n,然后调用n( 1 )到n( 4 )
创建N个变量的问题。
1 次查看(过去 30 天)
显示 更早的评论
已知n的数值,怎么去创建n个变量就是如果n=4,需要建立n1 n2 n3 n4,有没有函数可以解决这个问题呢,求大佬解答
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!