how to sum a result with multiple values
Mostrar comentarios más antiguos
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 ?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!