Funtion
5 views (last 30 days)
Show older comments
Wriet a user-defined funtion for calculating HI for given T & R
Here si what I did:
function HI = HeatIn( t,r )
%UNTITLED15 Summary of this function goes here
% Detailed explanation goes here
clc
C1=-42.379;
C2=2.0490153;
C3=10.14333127;
C4=-0.22475541;
C5=-0.00683783;
C6=-0.05481717;
C7=0.00122874;
C8=0.00085282;
C9=-0.00000199;
HI=C1+C2*t+C3*r+C4*t*r+C5*t^2+C6*r^2+C7*t^2*r+C8*t*r^2+C9*r^2*t^2;
end
Answers (0)
See Also
Categories
Find more on Software Development Tools in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!