Displaying a string and a vector

조회 수: 3 (최근 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 CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by