필터 지우기
필터 지우기

How to add new row to matrix of variable columns

조회 수: 1 (최근 30일)
new2matlab
new2matlab 2019년 10월 28일
답변: Guillaume 2019년 10월 28일
I have a matrix created with multiple column vectors and am looking for a way to add a row vector to the matrix to include the variable names in the matrix. Not sure how to add a row to a column vector matrix.

채택된 답변

Guillaume
Guillaume 2019년 10월 28일
You can't add variable names to matrices. Matrices can only contain numbers.
However, you could use a table which are designed explicitly for that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by