フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

need to determine value of 'x ' from several different graphs corresponding to a particular value of 'y', then combine them in a matrix.....

1 回表示 (過去 30 日間)
ali ahmed
ali ahmed 2016 年 6 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi every one, basically i was stuck in a problem that the main aim of it was to determine value of 'x ' from several different graphs corresponding to a particular value of 'y', then combine them in a matrix. does any one know how to do it in a simpler way.... below is my source code . i have plotted strainrate on y axis & time on x axis,so i need to calculate time @ strainrate=.116 from all the 7 graphs...
clc
clear
sigmahoop =3.34*45/5; % P*r/t hoop stress formula
temprate=[1 5 10 15 20 25 50]'; %temperature rate
toper=310+273; %operating temp
time=[1:400]; %time taken
for i=1:7
for j= 1:400
fun= @(t)(exp(-29200/(toper+temprate(i,1)))); %declaring a function to integrate
in(i,j)=(1+2e10*integral(fun,0,j,'ArrayValued',true))^.42; %integrating function
strainrate(i,j)= 1.3e-5*sigmahoop^9*exp(-36600/(toper+time(1,j)*temprate(i,1)))+((5.7e7*sigmahoop^1.8*exp(-29200/(toper+time(1,j)*temprate(i,1))))/in(i,j))*100;
if strainrate(i,j)>=.35
strainrate(i,j)=NaN;
end
end
end
plot(time(1:400),strainrate(1:1,1:400))
figure
plot(time(1:80),strainrate(2:3,1:80))
figure
plot(time(1:26),strainrate(4:5,1:26))
figure
plot(time(1:16),strainrate(6:7,1:16))

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by