MATLAB Code of Gauss-Seidel Method for AX = b

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • For Book: You may Follow: amzn.to/3tyW0ZD
    This lecture explains how to write the MATLAB code of the Gauss-Seidel method for AX = b
    Other MATLAB codes for Numerical analysis
    SOR Method: • MATLAB Code of Success...
    Matlab Code of Power method: • MATLAB Code of Power m...
    Gauss-Seidal method for AX = b; • MATLAB Code of Gauss-S...
    Jacobi method for AX=b: • MATLAB Code of Jacobi ...
    Gauss Jordan method for AX = b: • MATLAB Code of Gauss J...
    Gauss Elimination Method: • MATLAB Code of Gauss E...
    Newton-Raphson method: • MATLAB Code of Newton-...
    Secant Method: • MATLAB Code of Secant ...
    Regula-Falsi method: • MATLAB Code of Regula-...
    Bisection method: • MATLAB Code of Bisecti...

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

  • @DanielPolanco-cq8eq
    @DanielPolanco-cq8eq 2 месяца назад

    Perfect video, I understand how to break down these series notations now. Thank you!

  • @kainatsajid8601
    @kainatsajid8601 3 месяца назад

    it was very helping , thanks

  • @cagdastemel3729
    @cagdastemel3729 2 года назад +1

    very smooth explanation. Thank u.

  • @shreyashagrawal2264
    @shreyashagrawal2264 3 года назад +4

    I got the answer and sharing for others to get help from it
    1. Write the input matrix in diagonally dominant form
    2. the stopping criteria should be err1 = (abs(x-x_old)/x)

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

    Very helpful explanation of the method.

  • @lakshaysingla2754
    @lakshaysingla2754 2 года назад +3

    Please provide the code also in description box

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

    Thank you for this video. Greatly appreciate it 🌻

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

    How were you able to compute error for each solution?Because there are 3 solutions and they have error for each solution. So is it possible to compare the list of value with a single element in matlab?

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

    How would you display the error for each x value

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

    please how calculate the number of iteration in jacobi method

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

    very good explanation

  • @akosilaling
    @akosilaling 2 года назад +1

    Can this be modified to do the Successive Overrelaxation (SOR) Method?

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

      Yes,...you may watch matlab code of SOR method... It is already uploaded and available

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

    Thank You Sir

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

      Welcome ... Keep watching other videos too

  • @shreyashagrawal2264
    @shreyashagrawal2264 3 года назад +2

    What to do for 4x4 matrix?

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

      Same code.... Even this code is for nxn matrix.

  • @hitman5601
    @hitman5601 2 года назад +1

    SIR PLZ PROVIDE ME THE FORMAT TO IMPLEMENT GAUSS SEIDEL AND JACOBI METHOD IN ONE SINGLE CODE 🙏🙏🙏🙏

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

    hello i'm a college Student from tw
    if i want the itr run 20 times
    later
    itr = itr:1:20;
    y(itr,:)=x; is this correct? (I'm learning English so I listened to it many times but still don't understand)

    • @DrHarishGarg
      @DrHarishGarg  Год назад +1

      Use the for loop as
      for itr=1:20

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

      @@DrHarishGarg
      hello i change the itr = 1:20;
      but i don't know why the y can't show
      drive.google.com/file/d/1nAx512mhd_wBoHpd5HMIqkyA-_CXdG95/view?usp=share_link

  • @abdullahalferdous825
    @abdullahalferdous825 7 месяцев назад

    Only working for 3*3

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

    Why you initilize sum=0?

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

      Because, we need summation, so set initial as 0 (for neutral thing) to add the values

  • @its-me-neha
    @its-me-neha 2 года назад +1

    sir please give us the code

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

    I tried to implement the same code to solve 3x3 matrix, for about 1 30 minutes, it was still running.

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

      Check once again your writing.... May be some error... Also check det(A) for a matrix A and it should be non-zero firstly.

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

    Hello sir, i would like to know the code of refinement of gauss seidel and second refinement of gauss seidel for my research purpose❤️

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

      I dont have sorry dear..... Best wishes.

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

    this is simply incorrect

  • @Danielviomusic
    @Danielviomusic Год назад +1

    No offense, but if you want to upload classes in a certain language, make sure at least you can speak that language in a somewhat understandable way. I am sure your writting is flawless, but god damn is your pronunciation obnoxious. I can't tell what you are saying at any moment. Thank you anyway for the lesson.