Can anyone help me plot the graph for below equation using matlab code?

3 件のコメント

Gowtham Kumar Ganji
Gowtham Kumar Ganji 2021 年 4 月 6 日
編集済み: Gowtham Kumar Ganji 2021 年 4 月 6 日
This is heat flow in welding equation from RS Parmar.
Sara Boznik
Sara Boznik 2021 年 4 月 6 日
Do you have some code in context?
Gowtham Kumar Ganji
Gowtham Kumar Ganji 2021 年 4 月 7 日
yes

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2021 年 4 月 6 日
Pi = pi; %use Pi = sym(pi) if you want to work symbolic
T = T_0 + Q_p./(2.*Pi.*k) .* exp(-lambda.*nu.*xi) .* exp(-lambda.*nu.*R)./R
I wonder why they did not combine the exp() ? exp(-lambda.*nu.*(xi+R))./R

2 件のコメント

Pi = sym(pi); %use Pi = sym(pi) if you want to work symbolic
T_0 = 300;
Q_p = rand() * 1000;
k = rand() * 10;
lambda = rand() / 100;
nu = rand();
Lxi = 2./(lambda*nu);
Uxi = 1./(lambda*nu);
syms xi R
T = T_0 + Q_p./(2.*Pi.*k) .* exp(-lambda.*nu.*xi) .* exp(-lambda.*nu.*R)./R
T = 
fsurf(T, [1e-1 1 0 12]); xlabel('R'); ylabel('\xi');
E=-50*10^-3; %units m
y=15*10^-3; %units m
z=0; %units m
R= sqrt(E^2+y^2+z^2); %units m
k=64.167; %units J/min.sec.C
Q_p=2340; %units J/sec
lambda=28800;
nu=0.002083; %units m/sec
T_0=20; %unit C
Pi = sym(pi); %use Pi = sym(pi) if you want to work symbolic
syms xi
T = T_0 + Q_p./(2.*Pi.*k) .* exp(-lambda.*nu.*xi) .* exp(-lambda.*nu.*R)./R
T = 
Lxi = 1./(lambda*nu);
Uxi = 2./(lambda*nu);
fplot(T, [Lxi, Uxi])

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePhysics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by