Displaying a string and a vector

19 ビュー (過去 30 日間)
Salvatore Pace
Salvatore Pace 2017 年 8 月 28 日
コメント済み: Abhisek Roy 2017 年 8 月 31 日
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 件のコメント
Abhisek Roy
Abhisek Roy 2017 年 8 月 31 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by