Create a slice by a code.

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

All you show is a picture. No hint as to what the picture means, or what the word "slice" means to you in context. I might assume that must be a picure of a slice of pizza, in which case I think it may be a bit moldy.
If you want help, you need to ask a clear question that makes some sense. Otherwise, people will just be making random guesses.
I mean a reading at horiontal value of gB how can I see the function. Thanks for care
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!