Hi, i'm new. i need some help with conditioning

1 vue (au cours des 30 derniers jours)
Thanh Tien Tran
Thanh Tien Tran le 16 Juin 2019
Commenté : Thanh Tien Tran le 17 Juin 2019
i'm currently working a project. here is a set of conditioning i have.
i want the code to create new value when it reached the final interval of standing.
if the slected data over pass 10 it will show a new value while keeping the older value.
if abs(max(ac_x))<1 && abs(max(ac_y))<1 && abs(max(ac_z))<1
disp('Standing');
str= 'Standing';
elseif abs(max(ac_x))<10&& abs(max(ac_y))<10 && abs(max(ac_z))<10
disp('walking');
str='Walking';
else
disp('Jogging');
str='Jogging';
end
  2 commentaires
Image Analyst
Image Analyst le 16 Juin 2019
No idea. Not until you attach your data and include screenshots of them plotted.
Thanh Tien Tran
Thanh Tien Tran le 17 Juin 2019

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Object Identification 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