필터 지우기
필터 지우기

script correction

조회 수: 1 (최근 30일)
milad babaei
milad babaei 2011년 7월 23일
hi, would somebody pleas help me to correct this script?
clear
clc;
BHv= [1,2,3,4,5,6,7,8];
fiv= [0,10,20,30];
h = [ 1 1.02 1.11 1.21 1.3 1.4 1.59 1.78; ...
1 1.11 1.35 1.62 1.95 2.33 3.34 4.77; ...
1.01 1.39 2.12 3.29 5.17 8.29 22 61; ...
1.13 2.5 6.36 17.5 50 150 1400 14800];
[fim BHm] = meshgrid(fiv,BHv);
[XI,YI] = meshgrid(linspace(0,30),linspace(1,8));
F = TriScatteredInterp(fim(:),BHm(:),h(:));
figure,surf(F(XI,YI))
ylabel('y-axis,(B/H)')
xlabel('x-axis,phi')
zlabel('depth factor,hc')
title('depth factor(hc) measurements,mandel & salencon 1969')
  댓글 수: 1
milad babaei
milad babaei 2011년 7월 23일
after run the code.it doesnt show exact data limitation on graph,have a problem introducing my data,

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by