フィルターのクリア

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 Center および File ExchangeNaNs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by