# How to find yield point and plot strain hardening part?

조회 수: 26(최근 30일)
ans 2021년 10월 18일
답변: KSSV 2021년 10월 18일 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 2021년 10월 18일
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') 댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!