Hi, i'm new. i need some help with conditioning
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
le 16 Juin 2019
No idea. Not until you attach your data and include screenshots of them plotted.
Réponses (0)
Voir également
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!