Clear Filters
Clear Filters

Displaying a string and a vector

2 views (last 30 days)
Salvatore Pace
Salvatore Pace on 28 Aug 2017
Commented: Abhisek Roy on 31 Aug 2017
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?
  1 Comment
Abhisek Roy
Abhisek Roy on 31 Aug 2017
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.

Sign in to comment.

Answers (0)


Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!