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?
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.👍👍
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.
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
Nicely explained sir!
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
Good explanation Harish Sir.....
It helps me so much, thanks
Thank you so mutch you help me a lot
Happy to help... Keep watching and sharing
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
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
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
ruclips.net/video/Uqgijfxvb2Y/видео.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.👍👍
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 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
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 a problem in a ilp program that the exact value which I want not obtained. What should I do
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
ruclips.net/video/Uqgijfxvb2Y/видео.html
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