I don't think you want to, or need to, do that, but see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F
How to name variables automatically?
12 次查看(过去 30 天)
显示 更早的评论
I have made a 3 D matrix. But i need to give each element of this matrix a name so that it can be inserted in the cell array as I need to SET UP a Linear Program .
Are there any ways through which I could name each element of matrix automatically like by running a loop
or
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!