I subscribed your channel today and watch your first video on MATLAB CODE : EXPLANATION, Personally I thanks for you as a honest effort to teach such a good manner.
I just want to correct your that when finding intersecting points the points could be negative so we have to check for them to be positive. for i = 1:size(A,1) ax = A(i,:); bx = b(i,:); for j = i+1:size(A,1) ay = A(j,:); by = b(j,:); aF = [ax;ay]; bF = [bx; by]; xF = aF\bF; if(xF(1,:)>=0 && xF(2,:)>=0) iPoints = [iPoints;xF']; end end end
Thanks you sir I try to do the same code exactly but in (corpt =unique( line1 ....) ) Give me a mistake in the dim of arrays , I try to check it over and over but I can't solve this problem What should I do?
x1 = x(:,1) % x1 is entire first column of the points we found initially x2 = x(:,2) % x2 is the entire second column of points we found initially Your x, (i.e all points set, from previous phase) is being updated after each constraint. But x1 and x2 are not being updated at each constraint. Thus you must paste the above two lines before the start of each constraint. I ran into the same problem... Happy to help :)
@@DrHarishGarg Sir can you please help with error "Unrecognized function or variable 'constraint'." I'm getting this error when using the "constraint" function.
Sir please speak in hindi if you are not comfortable to teach in english🙏🙏 it's very difficult to understand your broken english .Otherwise nice lecture.👍👍
I subscribed your channel today and watch your first video on MATLAB CODE : EXPLANATION, Personally I thanks for you as a honest effort to teach such a good manner.
Many thanks for watching. Kindly share with other too
I just want to correct your that when finding intersecting points the points could be negative so we have to check for them to be positive.
for i = 1:size(A,1)
ax = A(i,:);
bx = b(i,:);
for j = i+1:size(A,1)
ay = A(j,:);
by = b(j,:);
aF = [ax;ay];
bF = [bx; by];
xF = aF\bF;
if(xF(1,:)>=0 && xF(2,:)>=0)
iPoints = [iPoints;xF'];
end
end
end
How to write A matrix if one of the constraint equations as x1^2+x2^2
Nicely explained sir!
in 20:53, i got error in for function, for the b2, because it is only 1 row matrix. any idea to solve this, Sir?
Kindly let me know your LPP
Matlab Code of North West corner method by two different Methods
ua-cam.com/video/Uqgijfxvb2Y/v-deo.html
Good explanation Harish Sir.....
Hello
Any idea how to solve this ?
Unrecognized function or variable 'constraint'.
PT=constraint(points);
Ok I got it It's a function we have to implement
@@redwar7253 can u tell us how
@@mohamedsagou3834 Right now I have no idea, need to go check my files
Thanks you sir
I try to do the same code exactly but in (corpt =unique( line1 ....) )
Give me a mistake in the dim of arrays , I try to check it over and over but I can't solve this problem
What should I do?
bro you must not be doing transpose( " ' " ) after each calculation of line, check code again and match
It helps me so much, thanks
Sir I am getting an error "Matrix index is out of range for deletion." in the constraint function.
Error in constraint (line 11)
X(h2,:)=[];
It means h2 is empty.... Check the value of h2.
@@DrHarishGarg No this doesn't mean that
x1 = x(:,1) % x1 is entire first column of the points we found initially
x2 = x(:,2) % x2 is the entire second column of points we found initially
Your x, (i.e all points set, from previous phase) is being updated after each constraint. But x1 and x2 are not being updated at each constraint. Thus you must paste the above two lines before the start of each constraint.
I ran into the same problem... Happy to help :)
solve ho gaya na bro
In the LPP, one constraints is of the form x1
Just a vertical line at that x, where answers lie to the left of the vertical line.
Sir I have a problem in a ilp program that the exact value which I want not obtained. What should I do
Thank you so mutch you help me a lot
Happy to help... Keep watching and sharing
graphical calculation of phase and magnitude responses .... COULD YOU PLEASE HELP WITH THIS SIR??!!
can you please explain... what do you exactly want to learn
@@DrHarishGarg Sir can you please help with error "Unrecognized function or variable 'constraint'." I'm getting this error when using the "constraint" function.
sir i have attended your webinar but i didn't yet received certificate?
Fuzzy control
Matlab Code of North West corner method by two different Methods
ua-cam.com/video/Uqgijfxvb2Y/v-deo.html
Sir please speak in hindi if you are not comfortable to teach in english🙏🙏 it's very difficult to understand your broken english .Otherwise nice lecture.👍👍
I need your help.. Please
13:25 third phase
22:00
code dedo na sir
i'm getting here at phase 6
x1=X(:,1);
I am also getting the same error