what's the wrong in this expression

1 visualización (últimos 30 días)
sarine_nassima
sarine_nassima el 29 de En. de 2019
Respondida: Walter Roberson el 29 de En. de 2019
what's the wrong in this expression
if(rr(i)>= l(i,1)&& rr(i)<=h(i,1))
when i run my program i have error in this expresion.i need to help me .thank you for all
  2 comentarios
TADA
TADA el 29 de En. de 2019
Post the error details, all the red text you get in the command window
Rik
Rik el 29 de En. de 2019
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 29 de En. de 2019
rr does not contain at least i elements, or else l does not contain at least i rows, or else h does not contain at least i rows, or else rr or h or l are functions that return something that is not a scalar.
Or there is a problem on a different line.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by