How to code the Average monthly temperature? I'm newbie in matlab.. Please help me

9 次查看(过去 30 天)

采纳的回答

KSSV
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
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 CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by