@@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 ❤️❤️
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!
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.
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
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.
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.
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
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.
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.
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.
@@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.
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.
Dude he's the only one that was able to make me understand the gauss method thank you so much ❤
Very well explained, great video. Better than my college teacher!
OUR teachers do not even teach us thos
😅😂🤣
sir your knowledge in the subject is deep rooted and excellent. thanks sir for making such informative video.
Idk what you're saying but my code worked, thank you sm!
Mashahallah....
Great work...
Your way of teaching the complex concepts is just out of this world.
Thanks brother
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.
Very clear explanation for the loops. I have never heard a better and more clearer explanation of a code.
bahot hi umda samjhaya aapne! Dhanyavaad!!
New sub. Clear explanation bro, you saved my life. Regards from Mexico
Keep sharing valuable information sir 🙏🙌🙌
Thank you very much! Hello from Russia
Thanks for this video
What beautiful way of explaining the complex problem! great job.
Great explanation!
14:53 sir apne konsa cammand kea hain ke command window history chala aai ?
Keyboard up arrow key
@@ATTIQIQBAL Thank you. i am watching from Bangladesh.
Excellent brother! ❤️❤️
Mashallah great work
awesome job. please put code in describtion section
Very beautifully explained
Just wow.
Thank you so much,sir
Thank you sir🙏🙏
Thank You So Much for this explanation, Can You Please Upload the process and code for Gause Jordan??
Haven't tried it
@@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 ❤️❤️
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!
Great
You are great...Mr
Thank You so much!!!!
thank you very much bro..love you bro
Mashallah
Tnx You sir♥️♥️♥️♥️
why there is an error accuring in step 3: N = length (B);
Sir Can you please explain the for loop having 'k' please.
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.
Email me the code and screenshot of your output at attiqforstudents@gmail.com
thank you so much
thank you, well explained!
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
thanks mang
Thank you so much :)
Thanks❤
What is the meaning of k=N-1 : -1 : 1?
It's the backward loop which will start from N-1 and reach at 1 with the decrement of 1 in each iteration.
@@ATTIQIQBAL Thank you sir
Hello gooday, may i ask what is the arrow symbol called?
thank youu
Which arrow symbol you're taking about?
Thanks sir
thanks brother
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
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.
Sen adamsın kardeşim
Does it work for matrix having order 3x4 or 5x7 or may be 6x4??
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.
Shukaya janab
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
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.
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.
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.
@@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.
@@mrigankchhabra3844, I will surely make the Gauss-Jordan video as soon as I get time. Thank you for taking an interest.
what aug means?
It's just a name of a variable which have augmented matrix.
tnx sir ❤
Thanks
its not working in matlab, triple checked it. It won't let me go past Aug=[A B]
Send screenshot at attiqforstudents@gmail.com
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.
Just a syntax error! Great vijo
video kizabi
ogulsan
i cant understand ur english well its like ur chewing everytime you talk