Variable pre-definition
Ältere Kommentare anzeigen
Hello,
how can I pre-define list of variables (e.g. var_1,var_2,...,var_n) that have the same content, for example zeros(100). I thought [var_1,var_2,...var_n]=[zeros(100),zeros(100),...,zeros(100)]; could work, but I was wrong. Any idea is appreciated.
Thank you very much,
Tom
Akzeptierte Antwort
Weitere Antworten (1)
bharat suthar
am 23 Mai 2020
0 Stimmen
Which of the following is a pre-defined variable in Matlab?
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!