Plot stress strain curve

Hi, I need to plot a stress strain curve.
Load: I have saved in my workspace as a row vector (160x1)
extresion: I have saved in my workspace as a row vector (160x1)
When I run the code below, I do get a graph, but however it is not a stress strain graph. A friend told me I need do something like a for loop?... Im not fully sure how to go about that, can anyone help please.
force = load;
area = 847.936;
stress = force/area;
strain = (69.69-extension)/69.69;
plot(strain, stress)
xlabel('strain')
ylabel('stress')

7 件のコメント

darova
darova 2020 年 2 月 17 日
  • Hi, I need to plot a stress strain curve.
Did you try plot()?
Star Strider
Star Strider 2020 年 2 月 17 日
When I run the code below, I do get a graph, but however it is not a stress strain graph.
Your code appears to be correct. What does the plot look like, and what do you believe the plot should look like?
Micheá McDonagh
Micheá McDonagh 2020 年 2 月 17 日
This is the graph I get.
Star Strider
Star Strider 2020 年 2 月 17 日
O.K.
What sort of plot were you expecting?
Micheá McDonagh
Micheá McDonagh 2020 年 2 月 17 日
It's okay. I figured it out. Thanks.
Ethan Hernandez
Ethan Hernandez 2021 年 5 月 6 日
@Micheá McDonagh How did you end up doing it?
DGM
DGM 2021 年 5 月 7 日
There is next to zero chance that an inactive account created for the sole purpose of asking one question over a year ago is going to spring to life to respond. If you need help, pose a new question with a clear description of your current problem.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStress and Strain についてさらに検索

質問済み:

2020 年 2 月 17 日

コメント済み:

DGM
2021 年 5 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by