Problems with 2d and 3d plotting

2 次查看(过去 30 天)
hi, is there any one can solve my problem with 2d and 3d plotting?
that would be very kind of you.
thanks.
-----------------------------------------------------------------------------------------
everytime i got the the follwing output (necessary files are uploaded for your check):
>> funcplotkf('func100cr6',{'phip'},{'phi' 'T'},[900 0.05],[0;100],'kf100CR6.m')
Unrecognized function or variable 'X'.
Error in funcplotkf (line 141)
surf(X,Y,Z)
-----------------------------------------------------------------------------------------------------
i need 2d and 3d plot for the datasheet or bfc(best fitting curve).

回答(1 个)

Prabhan Purwar
Prabhan Purwar 2020-7-13
Hi,
Following error is popping out as the code is reaching directly from line 26 to 140 under funcplotkf due to faulty input
Try using : funcplotkf('func100cr6',{'phi'},{'phi' 'T'},[900 0.05],[0;100],'kf100CR6.m')
with correct values for phi and T as per your need.
Hope it helps!!

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by