Course Solutions Uncategorized (Solved) : Matlab Plotting Calling Function Code Function Function Heat Tout Dxg 0003 Dxa 001 Hi 12 H Q30985464 . . . .

(Solved) : Matlab Plotting Calling Function Code Function Function Heat Tout Dxg 0003 Dxa 001 Hi 12 H Q30985464 . . . .

 

MATLAB: Plotting from calling a function

Here is the code for the function…

function heat(Tout)

dxg = 0.003;
dxa = 0.01;
hi = 12;
ho = 44;
kg = 0.81;
ka = 0.015;

A = [kg/dxg + ho -kg/dxg 0 0;
kg/dxg -kg/dxg – ka/dxa ka/dxa 0;
0 ka/dxa -ka/dxa – kg/dxg kg/dxg;
0 0 kg/dxg -kg/dxg – hi];
b = [ho*Tout 0 0 -23*hi]’;
T = Ab;
end

… When you run this function with a variable, it returns 4values. These values are temperatues T1, T2, T3, and T4. These 4values come from the T=Ab matrix.

I need a plot for values of Tout between 25 and 45 in 100 evenlyspaced points versus the 4 values

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post