Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to avoid writing varying number of loops?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to evaluate a function of K variables each of them varying between 1:N. One way to do this is writing K loops and varying variables accordingly. I want to know is there any other way to do this without K loops?
Since I want to write a MATLAB function doing these evaluations for all possible K's, it isn't possible to write varying number of loops in one function so what should I do? Thanks
1 Kommentar
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!