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

3 vues (au cours des 30 derniers jours)

Réponse acceptée

KSSV
KSSV le 27 Mai 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 commentaires
KSSV
KSSV le 27 Mai 2020
You can remove that column/ element.
To remove first column:
A(:,1) =[] ;
To remove first element from array.
A(1) = [] ;
marun55
marun55 le 27 Mai 2020
Thank you very much :D

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by