Can you combine multiple variables into one variable using &&?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to combine multiple variables I have defined into one overall variable. Is that possible by using &&?
3 件のコメント
dpb
2020 年 11 月 28 日
That's still pretty nebulous but a cell array would hold the three variables as cells; it wouldn't "display" (again, whatever that means to you) them all at once.
If the variables are of commensurate sizes and same type then you could combine vectors into array/matrix or 2D array/matrices into 3D.
Or, there's the table if types are different but lengths a commensurate.
Again, it all depends on what you really mean.
回答 (1 件)
Walter Roberson
2020 年 11 月 28 日
No, you would use & instead of && . See https://www.mathworks.com/matlabcentral/answers/95028-how-can-i-create-a-latex-table-from-a-matlab-array
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Foundation and Custom Domains についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!