MATLAB Code - Graphical Method of LPP

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ •

  • @chetankumarsharma1019
    @chetankumarsharma1019 4 роки тому +4

    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.

    • @DrHarishGarg
      @DrHarishGarg  4 роки тому +1

      Many thanks for watching. Kindly share with other too

  • @St.LaurentDon
    @St.LaurentDon Рік тому +2

    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

  • @RAJESHR-o8h
    @RAJESHR-o8h 9 місяців тому

    How to write A matrix if one of the constraint equations as x1^2+x2^2

  • @girikgarg8
    @girikgarg8 Рік тому

    Nicely explained sir!

  • @nadhifaaqillahusna4279
    @nadhifaaqillahusna4279 4 роки тому +1

    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?

    • @DrHarishGarg
      @DrHarishGarg  4 роки тому

      Kindly let me know your LPP

    • @DrHarishGarg
      @DrHarishGarg  4 роки тому

      Matlab Code of North West corner method by two different Methods
      ua-cam.com/video/Uqgijfxvb2Y/v-deo.html

  • @shaileshsrivastava3579
    @shaileshsrivastava3579 4 роки тому +1

    Good explanation Harish Sir.....

  • @redwar7253
    @redwar7253 3 роки тому +1

    Hello
    Any idea how to solve this ?
    Unrecognized function or variable 'constraint'.
    PT=constraint(points);

    • @redwar7253
      @redwar7253 3 роки тому

      Ok I got it It's a function we have to implement

    • @mohamedsagou3834
      @mohamedsagou3834 3 роки тому

      @@redwar7253 can u tell us how

    • @redwar7253
      @redwar7253 3 роки тому

      @@mohamedsagou3834 Right now I have no idea, need to go check my files

  • @areegmohamed3740
    @areegmohamed3740 4 роки тому +1

    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?

    • @sarthakgupta6941
      @sarthakgupta6941 3 роки тому

      bro you must not be doing transpose( " ' " ) after each calculation of line, check code again and match

  • @ahmadbariqalfahri9372
    @ahmadbariqalfahri9372 4 роки тому +1

    It helps me so much, thanks

  • @manannegi9505
    @manannegi9505 4 роки тому

    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,:)=[];

    • @DrHarishGarg
      @DrHarishGarg  4 роки тому

      It means h2 is empty.... Check the value of h2.

    • @baige6302
      @baige6302 3 роки тому

      @@DrHarishGarg No this doesn't mean that

    • @baige6302
      @baige6302 3 роки тому +1

      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 :)

    • @rushilkaul7147
      @rushilkaul7147 Рік тому

      solve ho gaya na bro

  • @veeramunim3023
    @veeramunim3023 3 роки тому

    In the LPP, one constraints is of the form x1

    • @brayanhernandez1548
      @brayanhernandez1548 Рік тому +1

      Just a vertical line at that x, where answers lie to the left of the vertical line.

  • @sonukbairwa8881
    @sonukbairwa8881 3 роки тому

    Sir I have a problem in a ilp program that the exact value which I want not obtained. What should I do

  • @mohamedsagou3834
    @mohamedsagou3834 3 роки тому

    Thank you so mutch you help me a lot

    • @DrHarishGarg
      @DrHarishGarg  3 роки тому

      Happy to help... Keep watching and sharing

  • @karthik6843
    @karthik6843 3 роки тому

    graphical calculation of phase and magnitude responses .... COULD YOU PLEASE HELP WITH THIS SIR??!!

    • @DrHarishGarg
      @DrHarishGarg  3 роки тому

      can you please explain... what do you exactly want to learn

    • @yuvannabawa6349
      @yuvannabawa6349 Рік тому

      @@DrHarishGarg Sir can you please help with error "Unrecognized function or variable 'constraint'." I'm getting this error when using the "constraint" function.

  • @najafwani7921
    @najafwani7921 4 роки тому

    sir i have attended your webinar but i didn't yet received certificate?
    Fuzzy control

    • @DrHarishGarg
      @DrHarishGarg  4 роки тому

      Matlab Code of North West corner method by two different Methods
      ua-cam.com/video/Uqgijfxvb2Y/v-deo.html

  • @MrCrocx007
    @MrCrocx007 Рік тому +9

    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.👍👍

  • @حيدرالهنداوي
    @حيدرالهنداوي 4 роки тому

    I need your help.. Please

  • @abhinav5181
    @abhinav5181 2 роки тому

    13:25 third phase

  • @newtonissac9679
    @newtonissac9679 2 роки тому

    22:00

  • @priyanshupant03
    @priyanshupant03 2 роки тому

    code dedo na sir

  • @Akashraviable
    @Akashraviable 4 роки тому

    i'm getting here at phase 6
    x1=X(:,1);