Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
can anyone please help me in rectifying the error
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
on executing the following code am getting the error
clc
i = input ('enter the no. of constraints: ');
j= input ('enter the no. of variables: ');
for m=1:i
for n=1:j
d(m,n)= a(m,n)/b(m)*c(n);
max(min(d(m,n)))= min(max(d(m,n)));
disp('no redundant constraints');
le(d(k,n),d(m,n));
disp('the kth constraint is redundant');
end
end
am getting the error as Undefined function 'a' for input arguments of type 'double'.
Error in stain (line 6) d(m,n)= a(m,n)/b(m)*c(n);
please help me in rectifying the error
1 commentaire
Star Strider
le 15 Mar 2016
You have to have a matrix called ‘a’ (and vectors ‘b’ and ‘c’) existing in your workspace before you run the code you posted.
To be honest, the code you posted does not make sense.
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!