I how can I process this loop problem

1 次查看(过去 30 天)
This is my first time of using tyhis question segment
I need assistance, I need to generate some data.
the first step is to compute a parameter
t_1 = Pd*di/(2*k*Fy); %Initial guess of t
Do = di + 2*t_1
using criteria if
t_1/Do < 0.05;
then t_1 = tmin however if its not we proceed to using
the next equation which is different from the first
t_1 = (Pd-Po)*Do/2*k*Fy;
and the same criteria is check.
t_1/Do<0.05
then t_1 = tmin however if its not we proceed to using
the next equation which is different from the first and second
t_1 = D/(4*Fy)/((Ysc*Ym*(Pli-Pe)*sqrt(3)) + 1;
and the same criteria is check.
t_1/Do<0.05
After which the process will be restarted

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by