Info
This question is closed. Reopen it to edit or answer.
I have a push button in gui which calculates the different stresses of each layer in a composite laminate. How can I transfer each of these values obtained into another push button, to test failure in each layer. Note: Values are not const (Looped)
1 view (last 30 days)
Show older comments
for f=1:length(theta3)
m=cosd(theta3(f));
n=sind(theta3(f));
alfax=(m^2.*alpha1(f))+(n^2.*alpha2(f));
alfay=(n.^2.*alpha1(f))+(m.^2.*alpha2(f));
alfaxy=(2.*m.*n).*(alpha1(f)-alpha2(f));
alphaa=[alfax;alfay;alfaxy]
stress_top{f}=(Qba{f}*(ep_top{f}-alphaa*deltat))*1000;
stress_bottom{f}=(Qba{f}*(ep_bottom{f}-alphaa*deltat))*1000 ;
stress_topX(f)=stress_top{f}(1);
stress_topY(f)=stress_top{f}(2);
stress_topXY(f)=stress_top{f}(3);
stress_bottomX(f)=stress_bottom{f}(1);
stress_bottomY(f)=stress_bottom{f}(2);
stress_bottomXY(f)=stress_bottom{f}(3);
end
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!