Finding the length of square function
Afficher commentaires plus anciens
Hello, I'm using the square function. I want to find the length of it based on my limits. How can I do that since the square root is discontinues. Regards, Dimo
4 commentaires
John D'Errico
le 7 Déc 2020
Be far more clear about what you are trying to do. You want to find the length of a function? Are you asking to compute the arc length? Next, of what function? Be explicit, else we will spend time showing you how to solve the wrong problem.
Dimo Iordanov
le 8 Déc 2020
Modifié(e) : Dimo Iordanov
le 8 Déc 2020
Rik
le 8 Déc 2020
Did you try to google how to calculate the arc length of a function in Matlab?
Dimo Iordanov
le 8 Déc 2020
Réponse acceptée
Plus de réponses (1)
Rafael Hernandez-Walls
le 8 Déc 2020
t2=t(find(diff(X)>0));
t1=t(find(diff(X)<0));
long_time=t2(2)-t1(2)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!