Problems with 2d and 3d plotting

2 vues (au cours des 30 derniers jours)
Arif Ahmed
Arif Ahmed le 8 Juil 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).

Réponses (1)

Prabhan Purwar
Prabhan Purwar le 13 Juil 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!!

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by