plot column x until a specific row

4 ビュー (過去 30 日間)
sivalogan satchithanandamoorthy
sivalogan satchithanandamoorthy 2017 年 5 月 16 日
回答済み: KSSV 2017 年 5 月 16 日
I am asking user to import multiple data such as:.txt and .csv file. Since I am piloting true stress vs true strain, after the breaking point true strain value drops. what i want is to plot stain data till the max point(i don't want the strain data once it is broken). How to approach this problem? ex:1,696327,1.715222,1.724002,0.148660,0.08183,0.06558( stop at 1.724002). Any help would be much appreciated.
siva
  1 件のコメント
Sergey Kasyanov
Sergey Kasyanov 2017 年 5 月 16 日
Can you add your code?

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

採用された回答

KSSV
KSSV 2017 年 5 月 16 日
s = [1.696327,1.715222,1.724002,0.148660,0.08183,0.06558];
%%get maximum value
[val,idx] = max(s) ;
plot(s(1:idx))

その他の回答 (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