Create a slice by a code.

1 view (last 30 days)
Moustafa Abedel Fattah
Moustafa Abedel Fattah on 17 Jul 2022
Dear all
How can I creat a 2D slice for a function given in attached file. Thanks in advance, with considering that my MATLAB R2014b
Best Regards,
  3 Comments
Moustafa Abedel Fattah
Moustafa Abedel Fattah on 18 Jul 2022
I mean how to cut horizontally at certain y value of the curve and see the new shape of the curve

Sign in to comment.

Answers (1)

KSSV
KSSV on 18 Jul 2022
Edited: KSSV on 18 Jul 2022
Extract the points (xi,yi) you want and then fit a polynomail using polyfit. Boo, you have the function.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!