Using data from a FOR loop to then create an array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all, currently doing a project where I have calculated the temperature in a FOR loop but then need to use these values(around 500 values) to produce an array? to get another range of values(500 values) for each temperature value.
0 Kommentare
Antworten (1)
Walter Roberson
am 17 Mär. 2014
your_array = zeros(500,1);
for t = 1 : 500
your_array(t) = ....
end
0 Kommentare
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays 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!