have a func(:,:,t) that I took the average of, how do I create just an array of those values?
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!