필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Mikael
Mikael 2014년 2월 16일
편집: Mikael 2014년 2월 16일
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