How to find yield point and plot strain hardening part?

52 ビュー (過去 30 日間)
ans
ans 2021 年 10 月 18 日
回答済み: KSSV 2021 年 10 月 18 日
M = readtable('highstrain.csv');
test = table2array(M)
strain = test(:,1);
stress = test(:,2);
p=plot(strain,stress,'ko-',"LineWidth", 2)
xlabel('\epsilon')
ylabel('\sigma (MPa)')
xlim([0 0.5]);
ylim([0 700]);
ultimate_strength = max(stress);
elongation = max(strain);
I have true_stress vs strain curve ploted in MATLAB. I want to find yeild stress from this curve and plot just strain hardening part (e.g, from yield point stress to ultimate stress). Please let me know what I should do and which code and function I should use, since I am quit new to MATLAB.

採用された回答

KSSV
KSSV 2021 年 10 月 18 日
file = 'https://in.mathworks.com/matlabcentral/answers/uploaded_files/770221/highstrain.csv' ;
T = readtable(file) ;
x = T.X ; y = T.Y ;
% Ultimate strength
[val,idx] = max(y) ;
xmax = x(idx) ; ymax = val ;
% Get linear part
threshold = 550;
[TF,Sl,Ic] = ischange(y, 'linear','Threshold',threshold);
idx = find(TF);
xlinear = x(1:idx(2)) ;
ylinear = y(1:idx(2)) ;
figure
hold on
plot(x,y,'r')
plot(xmax,ymax,'*r')
plot(xlinear,ylinear,'*-b')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStress and Strain についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by