Symbolic Matrix has extra blank row
1 次查看(过去 30 天)
显示 更早的评论
When I do this:
>> syms b
>> C = [1 b; b 2]
C =
[1 b]
[ ]
[b 2]
The online example doesn't show this but I always get a blank row. What am I doing wrong? With all numbers, I get an ordinary matrix.
0 个评论
回答(2 个)
madhan ravi
2018-9-4
编辑:madhan ravi
2018-9-4
OR TRY:
C = str2sym('[1 b; b 2]')
Edited after Sir walter‘s comment.
10 个评论
madhan ravi
2018-9-5
编辑:madhan ravi
2018-9-5
If you find our (me and sir Walter‘s) answer useful please do accept my answer.
Carol Hurwitz
2018-9-4
2 个评论
Walter Roberson
2018-9-5
Is it possible that you have Maple installed on the system that has the problem?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Number Theory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!