why doesnt it works

1 次查看(过去 30 天)
Nirajan Khatri
Nirajan Khatri 2020-11-17
for i = 1 :1: N
for j = 1 :1: N
if u(i,j) < 1-a(i,j) && N<1- (u(i,j)/(1-a(i,j)))
z= (1-a(i,j))*N
end
end
end
  4 个评论
Nirajan Khatri
Nirajan Khatri 2020-11-20
@ Rik thank you, i have u matrix and a matrix so i was trying to use conditional loop, next time i will surely do it
Nirajan Khatri
Nirajan Khatri 2020-11-20
@ Peter Perkins Sir thank you

请先登录,再进行评论。

回答(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