Do you want the matrix to be printed in column vector form? If that's the case, then I think you need to create a column vector and then assign.
Displaying a string and a vector
3 次查看(过去 30 天)
显示 更早的评论
I am trying to display a string and then a vector, but I cannot seem to get the string to not be forced into a matrix with the vectors. The file attached shows the program and the output. I would want the out put to be " X = [Column Vector] ". Can anyway help?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!