Can ables to view the plot in Matlab
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
for eps_c=0.000001:eps_cu
disp(eps_c);
x=eps_cu/eps_c;
fc=fcc*x*r/(r-1+x);
disp(fc);
end
% plotting graph for compressive stress-strain curve
figure
plot(eps_c,fc);
xabel('Compressive Strain')
ylabel('Compressive stress')
댓글 수: 1
madhan ravi
2019년 2월 21일
upload the datas to run the code
답변 (1개)
madhan ravi
2019년 2월 21일
I don't see why your using a loop (just vectorize using element wise operation) but try the below:
Note: You haven't provided the details of some variables eps_cu...
eps_c=0.000001:eps_cu;
x=eps_cu./eps_c;
fc=fcc.*x.*r./(r-1+x);
% plotting graph for compressive stress-strain curve
figure
plot(eps_c,fc);
xabel('Compressive Strain')
ylabel('Compressive stress')
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!