I am trying to find the average of a 58 x 1000 matrix and the result should be a 58 X 48 matrix.
1 view (last 30 days)
Show older comments
So, my data is already loaded on matlab and pre processed. My parameter are a time matrix (1 x 48) and temperature matrix which is 58 X 1000. I am trying to find the average of the 58 x1000 matrix with the account of the time matrix so that my temperature matrix comes out to be 58 X 48. Eventually, I want a plot of time (x-axis) vs. temp (y axis).
How can I find the average of my 58 X1000 so that the result matrix is 58 X 48?
2 Comments
Image Analyst
on 27 Jun 2020
What do the rows and columns of your temperature matrix represent? Which dimension is time? Do you want to average over all times?
Accepted Answer
madhan ravi
on 27 Jun 2020
Edited: madhan ravi
on 27 Jun 2020
mean(...) along the rows of temperature matrix.
0 Comments
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!