If values are given then how we used in loop one by one .
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
if lamda_1, lamda_2, lamda_3 ...... lamda_6 are the given then how we use these in for loop like if when first iteration to take lamda_1 and when 2nd iteration to take lamda_2 and 3rd to lamda_3 and so on .. please help me
0 Kommentare
Antworten (1)
Cris LaPierre
am 17 Sep. 2021
Basically, put your numbers in a vector, and then use your loop counter to index (Ch 5 of onramp) the value to use in that loop from your vector.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!