How to take mean of integers value?

2 vues (au cours des 30 derniers jours)
vimal kumar chawda
vimal kumar chawda le 12 Juin 2021
I want to take mean of 5 column. How can I ? please find the attachment of the data.
  2 commentaires
SALAH ALRABEEI le 12 Juin 2021
Use mean(A,dir) where A is ur matrix and dir is the direction in which u r averaging. dir takes 1,or2,or3 etc values
vimal kumar chawda
vimal kumar chawda le 13 Juin 2021
Column is the z axis and the instruments is rectangel , I am finding out the inclination and mean of inclination at each & every step. Does mean will affect any way to my final/mean inclination? Just visualise it.

Connectez-vous pour commenter.

Réponse acceptée

Scott MacKenzie
Scott MacKenzie le 12 Juin 2021
Modifié(e) : Scott MacKenzie le 12 Juin 2021
You need to use braces because your data are in a table:
If it's just the integer values you want the mean of (as suggested in your question title), then
intLogical = mod(LSinclination{:,5},1)==0

Plus de réponses (0)


En savoir plus sur Functions 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