Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Mikael
Mikael le 16 Fév 2014
Modifié(e) : Mikael le 16 Fév 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

Réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by