Gauss Elimination Method with MATLAB code

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

КОМЕНТАРІ • 76

  • @YousraNawel
    @YousraNawel 2 місяці тому +1

    Dude he's the only one that was able to make me understand the gauss method thank you so much ❤

  • @thegratelucky
    @thegratelucky 3 роки тому +18

    Very well explained, great video. Better than my college teacher!

  • @parantapyadav4529
    @parantapyadav4529 2 роки тому +4

    sir your knowledge in the subject is deep rooted and excellent. thanks sir for making such informative video.

  • @marisolreveles2575
    @marisolreveles2575 3 роки тому +3

    Idk what you're saying but my code worked, thank you sm!

  • @idreesafridi6494
    @idreesafridi6494 3 роки тому +2

    Mashahallah....
    Great work...

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

    Your way of teaching the complex concepts is just out of this world.

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

    Sirji, tussi great ho, mahaan ho, kese soch lia etna sab and ettu se code me bhar dia, kamaal hi kar dia sirji, thank you.

  • @saadidrees1037
    @saadidrees1037 2 роки тому +2

    Very clear explanation for the loops. I have never heard a better and more clearer explanation of a code.

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

    bahot hi umda samjhaya aapne! Dhanyavaad!!

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

    New sub. Clear explanation bro, you saved my life. Regards from Mexico

  • @ASHISHSHARMA-mo5pf
    @ASHISHSHARMA-mo5pf 3 роки тому +2

    Keep sharing valuable information sir 🙏🙌🙌

  • @ДмитрийЖабровец-ъ2ъ

    Thank you very much! Hello from Russia

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

    Thanks for this video

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

    What beautiful way of explaining the complex problem! great job.

  • @DanielPolanco-cq8eq
    @DanielPolanco-cq8eq 7 місяців тому

    Great explanation!

  • @Shadhin_2.O
    @Shadhin_2.O 3 місяці тому

    14:53 sir apne konsa cammand kea hain ke command window history chala aai ?

    • @ATTIQIQBAL
      @ATTIQIQBAL  3 місяці тому +1

      Keyboard up arrow key

    • @Shadhin_2.O
      @Shadhin_2.O 3 місяці тому

      @@ATTIQIQBAL Thank you. i am watching from Bangladesh.

  • @ShakibShah-hm8sv
    @ShakibShah-hm8sv Рік тому

    Excellent brother! ❤️❤️

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

    Mashallah great work

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

    awesome job. please put code in describtion section

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

    Very beautifully explained

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

    Just wow.
    Thank you so much,sir

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

    Thank you sir🙏🙏

  • @nirsclassroom
    @nirsclassroom 3 роки тому +2

    Thank You So Much for this explanation, Can You Please Upload the process and code for Gause Jordan??

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

      Haven't tried it

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

      @@ATTIQIQBAL Assalamu Alaikum, Thanks for Replying, I am from Bangladesh, Are you from India? I will be grateful if you upload gause jordan code.
      Thank You ❤️❤️

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

    Thank you for the clear explanation, it was very easy to follow. I tried replicating but I am getting an error in line 15 for you when doing X(k). It says unable to perform assignment because the left and right sides have a different number of elements. I was wondering if you knew about this error or how to fix it?
    Thank you again!

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

    Great

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

    You are great...Mr

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

    Thank You so much!!!!

  • @Arif-yd8fj
    @Arif-yd8fj 3 роки тому

    thank you very much bro..love you bro

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

    Mashallah
    Tnx You sir♥️♥️♥️♥️

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

    why there is an error accuring in step 3: N = length (B);

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

    Sir Can you please explain the for loop having 'k' please.

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

    Thanks for the lesson Dr.
    I have an issue.
    The code is not executing properly in my machine.
    At the final result
    I'm not having zero at Aug(3,2).
    Please what could be the error.?
    Thanks.

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

      Email me the code and screenshot of your output at attiqforstudents@gmail.com

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

    thank you so much

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

    thank you, well explained!

  • @Seth.MOBE.
    @Seth.MOBE. 2 роки тому

    Sir aap aik video bna dein plz js ma without loop hm gauss elimination method ka code bna skein...
    Plz hamein sir ne task diya hai

  • @Adarsh-hg1rm
    @Adarsh-hg1rm 8 місяців тому

    thanks mang

  • @HarpreetSingh-hi6wb
    @HarpreetSingh-hi6wb 3 роки тому

    Thank you so much :)

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

    Thanks❤

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

    What is the meaning of k=N-1 : -1 : 1?

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

      It's the backward loop which will start from N-1 and reach at 1 with the decrement of 1 in each iteration.

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

      @@ATTIQIQBAL Thank you sir

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

    Hello gooday, may i ask what is the arrow symbol called?
    thank youu

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

      Which arrow symbol you're taking about?

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

    Thanks sir

  • @HarshKumar-fm6tg
    @HarshKumar-fm6tg 3 роки тому

    thanks brother

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

    Sir can we 3*3 also by this method ..? I ask Because I try but when I run aug after for loop then it give me NaN type something what is the problem can you pls solve my problem

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

      It's because the system you're inputing is inconsistent. The inconsistent system either have no solution or infinitely many solutions based on the last pivot entry and the entry of B vector infront of it after converting it to echlon form. Search more about inconsistent systems on google.

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

    Sen adamsın kardeşim

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

    Does it work for matrix having order 3x4 or 5x7 or may be 6x4??

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

      This code will only solve the systems which have a unique solution. The matrices you are referring to can not have unique solutions since the number of unknowns are not equal to the number of equations. In your case, there might be infinitely many solutions or no solution at all.

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

      Shukaya janab

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

    Greetings Mr Iqbal,
    At first I would like to present my warm wishes of such an auspicious day and I hope your week is going well. I am watching your video lectures of Matlab coding of gauss elimination and having some queries which are as follows -
    1. Why did you apply colon after 'Enter your coefficient matrix' and 'Enter your source vector' ?
    2. What is the significance of using for function and can't we just define the variables without using this function?
    3. After using for function you have first defined j i.e., column so can't we first define the row and then the column?
    4. How Matlab will get to know that we are defining column or row at the first place as only applying parenthesis what we write first Matlab then assumes it as rows and the latter column?
    Thank you for your time to read my message and I look forward to hear from you regarding the same.
    Best wishes,
    Mrigank

    • @ATTIQIQBAL
      @ATTIQIQBAL  3 роки тому +3

      The answers to your questions are:
      1. The colon is added to the prompt message just to make it look beautiful.
      2. Nested for loops are used to make zeros below each pivot entry. The outer loop fixes the column and the inner loop moves into the rows of that column.
      3. j is used for columns but there is no restriction you can use any variable for columns or rows. If you have some good logic to make zero below each pivot entry by fixing the rows and moving into the column then of course you can do it.
      4. Yes you are right. The first place in the parathesis is for rows and the second for columns.
      I hope it helps you.

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

      Greetings Mr.Iqbal, Thank you for your response and I have understood the concept, I think it would be much better to fix the column and adjust the row accordingly. You have created the general code valid for any nxm matrix. However I have realised few more things that the function length describes either the number of rows or the number of columns depending on which is greater, and using size function let us know of how many rows and column are in any matrix. But what I want to know now why did you use N=length(B), I know this function and how to use it but I can't see any significance or objective to use this function.

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

      Also, it would be really appreciable and your kind fulness if you could upload the Gauss Jordon method too. As I have subscribed your channel and looking forward to learn many things from your videos. I find it incredibly helpful.

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

      @@mrigankchhabra3844 Yes you are right about length and size function. The reason why I used the length command on B is that it will automatically pick the number of entries in vector B from which we can define the dimension of our matrix of unknowns. The important thing to understand here is that to get a unique solution by using the gauss elimination method, there should be n equations for n unknowns.

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

      @@mrigankchhabra3844, I will surely make the Gauss-Jordan video as soon as I get time. Thank you for taking an interest.

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

    what aug means?

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

      It's just a name of a variable which have augmented matrix.

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

    tnx sir ❤

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

    Thanks

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

    its not working in matlab, triple checked it. It won't let me go past Aug=[A B]

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

      Send screenshot at attiqforstudents@gmail.com

  • @Caleb-mf3ko
    @Caleb-mf3ko Рік тому

    Loved the video! I am having an issue where the x array is only the last X value and the 2nd to last X (X4 and X3). Does anyone have suggestions? As far as i can tell i have the exact same loops.

    • @Caleb-mf3ko
      @Caleb-mf3ko Рік тому

      Just a syntax error! Great vijo

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

    video kizabi

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

    ogulsan

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

    i cant understand ur english well its like ur chewing everytime you talk