how to sum a result with multiple values
Afficher commentaires plus anciens
a=[170;115;110;70;80;100;140;65;80;99;48];
b=[40;20;27;20;18;20;30;14;13;22;17];
k=a./(a-b)
k results in 11 values as intended, i'd like to do Kmed=k/11 how can i add the 11 values of k=a./(a-b) into 1 value without having to manually insert all 11 values and then divide by 11 ?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!