I am a student in the Department of Mathematics from Iraq. I thank you very much because I benefited a lot from the excellent explanation. I even speak Arabic and do not understand Hindi, but your explanation was excellent, even though I do not understand your language, but I understood the explanation. Thank you very much.
code: --------- clc;clear all; A=input('Enter the coefficient matrix: '); b=input('Enter the vector of constants: '); N=length(A); L=zeros(N,N); U=zeros(N,N); for i=1:N L(i,i)=1; end U(1,:)=A(1,:); L(:,1)=A(:,1)/U(1,1); for i=2:N for j=i:N U(i,j)=A(i,j)-L(i,1:i-1)*U(1:i-1,j); end for k=i+1:N L(k,i)=(A(k,i)-L(k,1:i-1)*U(1:i-1,i))/U(i,i); end end L,U y=L\b x=U\y
You are a king! Best explanations I have ever come across! I was wondering if you will be covering initial value problems and boundary value problems using matlab? Since you explain concepts very well, it would be very helpful.
sir, i am getting error like "Index in position 1 exceeds array bounds (must not exceed 1)" in line number 13 in my program when i typed the same like u have typed sir. pls help in resolving my error asap.
this is a good method to solve lud composition,but there is a built in function in matlab to solve lud coposition. clear; clc; A = [2 4 -6; 1 5 3; 1 3 2]; b = [-4; 10; 5]; [L, U] = lu(A); y = L\b; x = U\y; disp("Solution:"); disp(x);
Greetings Mr.Iqbal, I am watching your video lectures of coding matrix problems, and I am finding it incredibly useful. But have a small query too, may you please explain it again the reason behind of taking zeros, Is this a function and what does it actually signify? Regards
First of all thank you for your feedback and now about your query, actually I'm just initializing the matrices with all entries zero and then i will update those entries according to desired algorithm. I hope it helps.
@@ATTIQIQBAL, Thank you for your message. That makes perfect sense and yes I noticed when applying parenthesis (the round brackets using shift and 9, shift and 0) it forms rows and columns of matrix and zeros acts as a function. Overall, zeros(m,n) forms a matrix of zeros values of all elements with m rows and n columns. I am having some more queries regarding the Matlab, may you please let me know the best way of contacting you? Regards
I am a student in the Department of Mathematics from Iraq. I thank you very much because I benefited a lot from the excellent explanation. I even speak Arabic and do not understand Hindi, but your explanation was excellent, even though I do not understand your language, but I understood the explanation. Thank you very much.
code:
---------
clc;clear all;
A=input('Enter the coefficient matrix: ');
b=input('Enter the vector of constants: ');
N=length(A);
L=zeros(N,N);
U=zeros(N,N);
for i=1:N
L(i,i)=1;
end
U(1,:)=A(1,:);
L(:,1)=A(:,1)/U(1,1);
for i=2:N
for j=i:N
U(i,j)=A(i,j)-L(i,1:i-1)*U(1:i-1,j);
end
for k=i+1:N
L(k,i)=(A(k,i)-L(k,1:i-1)*U(1:i-1,i))/U(i,i);
end
end
L,U
y=L\b
x=U\y
Thanks sir❤
You are a king! Best explanations I have ever come across!
I was wondering if you will be covering initial value problems and boundary value problems using matlab?
Since you explain concepts very well, it would be very helpful.
Will do in future
Great explanation...
You are goated bro! love your videos
Well explained,👍
Assalamualaikum
Sir ur gr8. Love from Srinagar Kashmir
Thank you sir❣️
very nice video. thank you sir
Thank you very much mashallah
Puis-je avoir le pdf de cette méthode ?
Amazing
firstly thx for video but ı have problem with NAN and İnf , how can ı fix that ?
amazing explanations!!
Can you give me the slide show please? Thank you very much
👍
Thank You sir, Very helpful
it doesnt work for non square matrix,how to fix that
Thank you so much you explained this complicating looking problem in a most simple way.Great work indded❤❤
Thank you very much Atik .... I was stuck with the algorithm for weeks.... Now I can run my simulation
Nice video bro, i'm mexican ando i don't understand well all words that you say, It would be easier if you could put subtitles of what you say
Thank you for feedback. I will work on it
Very nice explanation
Well explain.. Thank you
Unrecognized function or variable 'B'.
Error in LU_Decomposition (line 20)
Y(1) = B(1)/L(1,1);
Send screenshot of your code at attiqforstudents@gmail.com
hi, did you get answer? I have the same problem
Very informative
sir, i am getting error like "Index in position 1 exceeds array bounds (must not exceed 1)" in line number 13 in my program when i typed the same like u have typed sir. pls help in resolving my error asap.
Email the screenshot of your code and output at attiqforstudents@gmail.com
@@ATTIQIQBAL i have mailed sir
@@ATTIQIQBAL sir please help me i have some errors
well explained 👍
this is a good method to solve lud composition,but there is a built in function in matlab to solve lud coposition.
clear;
clc;
A = [2 4 -6; 1 5 3; 1 3 2];
b = [-4; 10; 5];
[L, U] = lu(A);
y = L\b;
x = U\y;
disp("Solution:");
disp(x);
👍
Thank you sir your work is amazing!
Great work
Greetings Mr.Iqbal, I am watching your video lectures of coding matrix problems, and I am finding it incredibly useful. But have a small query too, may you please explain it again the reason behind of taking zeros, Is this a function and what does it actually signify? Regards
First of all thank you for your feedback and now about your query, actually I'm just initializing the matrices with all entries zero and then i will update those entries according to desired algorithm.
I hope it helps.
@@ATTIQIQBAL, Thank you for your message. That makes perfect sense and yes I noticed when applying parenthesis (the round brackets using shift and 9, shift and 0) it forms rows and columns of matrix and zeros acts as a function. Overall, zeros(m,n) forms a matrix of zeros values of all elements with m rows and n columns. I am having some more queries regarding the Matlab, may you please let me know the best way of contacting you?
Regards
Yes you're absolutely right about this concept. Reach me through email at attiqforstudents@gmail.com
can you make a video for cholesky decomposition, please
Working on it.
@@ATTIQIQBAL if u can make it within this week ..i would be grateful. thanks in advance
your work is great and if can you write the code under the video, this will be so helpful
Then who will take intrest in watching the video. :D
@@ATTIQIQBAL Thanks too much, I understand your opinion