Displaying a string and a vector

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 comentario

Abhisek Roy
Abhisek Roy el 31 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Ag. de 2017

Comentada:

el 31 de Ag. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by