Problems with 2d and 3d plotting

2 views (last 30 days)
Arif Ahmed
Arif Ahmed on 8 Jul 2020
Answered: Prabhan Purwar on 13 Jul 2020
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).

Answers (1)

Prabhan Purwar
Prabhan Purwar on 13 Jul 2020
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!!

Tags

Community Treasure Hunt

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

Start Hunting!