have a func(:,:,t) that I took the average of, how do I create just an array of those values?
Ältere Kommentare anzeigen
So I have iterations of a 2-D temperature profile, in which I do
Tavg = mean(mean(T(:,:,:)));
where T(i,j,t) is what I used.
Anyways, "Tavg" spits back a matrix of size [1 1 "#timesteps"]
Not sure why it's that size because when I type "Tavg" it gives me:
Tavg(:,:,17280) =
306.7141
an actual value. (note, that's one of thousands necessary for my script)
How would I take all those computed averages to be able to plot them against time? Seems trivial, but I can't figure it out.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Operators and Elementary Operations 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!