How to plot a function F(a,b) having a matrix F (axb)

1 回表示 (過去 30 日間)
Grigorios Chatziandreou
Grigorios Chatziandreou 2022 年 12 月 3 日
回答済み: Voss 2022 年 12 月 3 日
Hello,
I have obtained a matrix for a stress component syy that is 801x180. This stress depends on another stress s that takes integer values from -400MPa to 400MPa (801 values) and angle of a crack from 0 to 179 deg (180 values). How can i plot that?
Feel free to suggest cool ways as well. 20% of my mark is nice presentation. Thanks
i = -400:1:400;
j = i + 401;
sigmap(j) = i;
k = 1:1:180;
phi = pi*(k-1)/180;
%using all those defining:
syy(j,k)

回答 (1 件)

Voss
Voss 2022 年 12 月 3 日
surf(phi,sigmap,syy)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by