Displaying a string and a vector

9 vues (au cours des 30 derniers jours)
Salvatore Pace
Salvatore Pace le 28 Août 2017
Commenté : Abhisek Roy le 31 Août 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 commentaire
Abhisek Roy
Abhisek Roy le 31 Août 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by