Finding the length of square function
显示 更早的评论
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 个评论
John D'Errico
2020-12-7
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
2020-12-8
编辑:Dimo Iordanov
2020-12-8
Rik
2020-12-8
Did you try to google how to calculate the arc length of a function in Matlab?
Dimo Iordanov
2020-12-8
采纳的回答
更多回答(1 个)
Rafael Hernandez-Walls
2020-12-8
t2=t(find(diff(X)>0));
t1=t(find(diff(X)<0));
long_time=t2(2)-t1(2)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!