Displaying 3D matrix as a surface and interpolating between data sets

1 次查看(过去 30 天)
Hello everyone,
I'm trying to represent the diagram below by a 3D surface plot and afterwards enable interpolation between the curves. I currently have created a 3D matrix containing 15 data points for each of the nine curves, yielding a 15x2x9 matrix.
My initial issue is to display the surface plot. I've attempted both with the surf and meshgrid commands while following the instructions in the doc file, still without any succes. Usually I end up getting a matrix dimension error. Can anyone explain how to represent the data in a surface plot? I've attached a .mat file containing the matrix.
After succesfully displaying the data I want to be able to interpolate between the curves. For an example I input R=2.5 and P=0.3, yielding F=0.875 (approximately). But let's do one thing at a time and create the plot first.
Best regards Mikael

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by