Save a variable that will have a different sized data

5 ビュー (過去 30 日間)
pacharya
pacharya 2019 年 6 月 10 日
回答済み: Walter Roberson 2019 年 6 月 11 日
Hello Everyone,
I am trying to save data (in a row/column) in a single variable? For example, I have five variables, a, b, c, d, e and each has a different size (length). I want to save their data on a single variable, say All_variable such that the All_variable should be 1x5 cell in which each cell should have the data (of different size) of the five previously mentioned variables.
Thank you!

採用された回答

Walter Roberson
Walter Roberson 2019 年 6 月 11 日
All_variable = {a, b, c, d, e};

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by