Symbolic Matrix has extra blank row
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
madhan ravi
el 4 de Sept. de 2018
Editada: madhan ravi
el 4 de Sept. de 2018
OR TRY:
C = str2sym('[1 b; b 2]')
Edited after Sir walter‘s comment.
10 comentarios
madhan ravi
el 5 de Sept. de 2018
Editada: madhan ravi
el 5 de Sept. de 2018
If you find our (me and sir Walter‘s) answer useful please do accept my answer.
Carol Hurwitz
el 4 de Sept. de 2018
2 comentarios
Carol Hurwitz
el 5 de Sept. de 2018
Editada: Walter Roberson
el 5 de Sept. de 2018
Walter Roberson
el 5 de Sept. de 2018
Is it possible that you have Maple installed on the system that has the problem?
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!