How to code the Average monthly temperature? I'm newbie in matlab.. Please help me
9 次查看(过去 30 天)
显示 更早的评论
采纳的回答
KSSV
2020-5-27
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 个评论
KSSV
2020-5-27
You can remove that column/ element.
To remove first column:
A(:,1) =[] ;
To remove first element from array.
A(1) = [] ;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!