How to I create variables with different names in the workspace using for loop?
Ältere Kommentare anzeigen
Hi. Good Day.
May I please request ways to create different named variables in the workspace using the for loop function?
Thanks!
3 Kommentare
Stephen23
am 5 Jul. 2022
"May I please request ways to create different named variables in the workspace using the for loop function?"
Is there a particular reason why you need to force yourself into writing slow, complex, inefficient, obfuscated, insecure, buggy code that is hard to debug? What is your special use-case that prevents you from using e.g. indexing?
Bazil Faisal
am 7 Jul. 2022
Stephen23
am 7 Jul. 2022
"Didn't even know it exist. Please tell me more."
Akzeptierte Antwort
Weitere Antworten (1)
埃博拉酱
am 7 Jul. 2022
0 Stimmen
You're too new to MATLAB to write any actual code.
Learn your first course on https://matlabacademy.mathworks.com/ before doing any coding. Don't take MATLAB as a piece of cake that you can easily handle in one hour. If you don't have time to study hard, you might as well ask the experts around you.
1 Kommentar
Bazil Faisal
am 7 Jul. 2022
Kategorien
Mehr zu Loops and Conditional Statements 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!