Borrar filtros
Borrar filtros

why doesnt it works

1 visualización (últimos 30 días)
Nirajan Khatri
Nirajan Khatri el 17 de Nov. de 2020
Comentada: Nirajan Khatri el 20 de Nov. de 2020
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 comentarios
Nirajan Khatri
Nirajan Khatri el 20 de Nov. de 2020
@ 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 el 20 de Nov. de 2020
@ Peter Perkins Sir thank you

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by