Funtion

5 views (last 30 days)
Bobby
Bobby on 23 Nov 2011
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
  2 Comments
Sven
Sven on 23 Nov 2011
Format your code (select it, hit the "Code" button).
Also, make sure you ask a question. Be specific about what you are asking.
Jan
Jan on 23 Nov 2011
Sorry, Bobby, this message is meaningless. There is no question and in consequence no chance to answer.

Sign in to comment.

Answers (0)

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!