Save a variable that will have a different sized data

8 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Structures 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by