Using For Loop to solve a set of equations to plug into another loop
1 view (last 30 days)
Show older comments
I tried creating a For loop that spits out an array of numbers which then can be put into another For loop that uses the equation for safety factor.
Once i get answers from this first For loop, how do i put them into another For loop with 1 equation in it? Because it gives an array, i am confused.
for z=.01:6
11790.*((sqrt(((3.2)^2)+((z).^2)))./(3.91.*z))
11200.*((sqrt(((4.5)^2)+((z).^2)))./(3.91.*z))
10000.*((sqrt(((4.83)^2)+((z).^2)))./(3.91.*z))
end
0 Comments
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements 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!