Error using plot Vectors must be the same length?
Show older comments
Area=645; Length=3000; K=36.86; CosK=0.80; p=[0 170 200 220 240 250 260 275 300 310 350 370 380 400]; F=p/(2*CosK); stress=F*1000/Area; E=221.4; belowyieldstress=[164.71 193.77 213.15 232.53 242.22 251.91 247.06]; postyieldstress=[266.4 290.66 300.35 339.10 358.48 368.17 387.55]; %% if(stress<=yieldstress) strain=((belowyieldstress)/E); disp(strain); delu=strain*Length; u=delu/CosK else pstrain=((postyieldstress-232.4)/16900) delu=pstrain*Length; u=delu/CosK; end plot(u,p)
1 Comment
madhan ravi
on 2 Nov 2018
Edited: madhan ravi
on 2 Nov 2018
yieldstress?
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!