Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Mikael
Mikael el 16 de Feb. de 2014
Editada: Mikael el 16 de Feb. de 2014
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

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by