How to code the Average monthly temperature? I'm newbie in matlab.. Please help me
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
0 commentaires
Réponse acceptée
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
le 27 Mai 2020
You can remove that column/ element.
To remove first column:
A(:,1) =[] ;
To remove first element from array.
A(1) = [] ;
Plus de réponses (0)
Voir également
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!