MATLAB Code - Graphical Method of LPP

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 38

  • @chetankumarsharma1019
    @chetankumarsharma1019 3 года назад +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  3 года назад +1

      Many thanks for watching. Kindly share with other too

  • @girikgarg8
    @girikgarg8 Год назад

    Nicely explained sir!

  • @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 7 месяцев назад

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

  • @shaileshsrivastava3579
    @shaileshsrivastava3579 4 года назад +1

    Good explanation Harish Sir.....

  • @ahmadbariqalfahri9372
    @ahmadbariqalfahri9372 3 года назад +1

    It helps me so much, thanks

  • @mohamedsagou3834
    @mohamedsagou3834 3 года назад

    Thank you so mutch you help me a lot

    • @DrHarishGarg
      @DrHarishGarg  3 года назад

      Happy to help... Keep watching and sharing

  • @areegmohamed3740
    @areegmohamed3740 3 года назад +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

  • @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

  • @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
      ruclips.net/video/Uqgijfxvb2Y/видео.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.👍👍

  • @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.

  • @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

  • @karthik6843
    @karthik6843 2 года назад

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

    • @DrHarishGarg
      @DrHarishGarg  2 года назад

      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.

  • @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

  • @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
      ruclips.net/video/Uqgijfxvb2Y/видео.html

  • @حيدرالهنداوي
    @حيدرالهنداوي 3 года назад

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