Funtion

6 Ansichten (letzte 30 Tage)
Bobby
Bobby am 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 Kommentare
Sven
Sven am 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 am 23 Nov. 2011
Sorry, Bobby, this message is meaningless. There is no question and in consequence no chance to answer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by