How to code the Average monthly temperature? I'm newbie in matlab.. Please help me
8 views (last 30 days)
Show older comments
0 Comments
Accepted Answer
KSSV
on 27 May 2020
It looks like you have a data matrix of size 24X12 . Use mean to get the average. Read about the function mean. If A is your data matrix, use:
iwant = mean(A)
5 Comments
KSSV
on 27 May 2020
You can remove that column/ element.
To remove first column:
A(:,1) =[] ;
To remove first element from array.
A(1) = [] ;
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!