Create a slice by a code.
Show older comments
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
John D'Errico
on 17 Jul 2022
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.
Moustafa Abedel Fattah
on 17 Jul 2022
Moustafa Abedel Fattah
on 18 Jul 2022
Answers (1)
Extract the points (xi,yi) you want and then fit a polynomail using polyfit. Boo, you have the function.
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!