필터 지우기
필터 지우기

How to find yield point and plot strain hardening part?

조회 수: 34 (최근 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 CenterFile Exchange에서 Stress and Strain에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by