conditions writing in matlab
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I don't know what is the problem about the codes which is used to deal with the follwing model.
I hope to get your help ,it is greatly appreciated !
The codes is :
for j = 1:50
for o = 1:50
if j ~= o
F = [F abs(x(:,j)-x(:,o))>0];
end
end
end
The model is :
r(j):@sum(k(i):@abs(x(i,j)-x(i,j)))>0; (It's in lingo)
7 comentarios
Johan Löfberg
el 24 de Jul. de 2020
In case you haven't already, you should post this on the YALMIP Google groups instead for support.
The problem is that you are using a strict inequality, which isn't supported (as all the warnings are telling you, very loudly)
Respuestas (1)
Ver también
Categorías
Más información sobre Verification, Validation, and Test 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!