Finding the length of square function
Mostra commenti meno recenti
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 Commenti
John D'Errico
il 7 Dic 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
il 8 Dic 2020
Modificato: Dimo Iordanov
il 8 Dic 2020
Rik
il 8 Dic 2020
Did you try to google how to calculate the arc length of a function in Matlab?
Dimo Iordanov
il 8 Dic 2020
Risposta accettata
Più risposte (1)
Rafael Hernandez-Walls
il 8 Dic 2020
t2=t(find(diff(X)>0));
t1=t(find(diff(X)<0));
long_time=t2(2)-t1(2)
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!