Effacer les filtres
Effacer les filtres

how to calculate the average between multiple floating point entries only(f1,f2​,f3,f4,f5,​f6.,....) and delete the duplicated columns

2 vues (au cours des 30 derniers jours)
i have multiple columns 's format: %s %f1%s%d%d %f2%s%d%d %f3%s%d%d %f4%s%d%d %f5%s%d%d %f6%s%d%d %f7%s%d%d............ results should be like this: %s %f1%s %f2 %f3 %f4 %f5 %f6 %f7.................................................

Réponses (1)

KSSV
KSSV le 21 Fév 2017
How about
mean(unique(myarray))
  4 commentaires

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Distribution Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by