Join our premium course on Numerical Methods at mlhp.link/NumericalMethods/ Read this & adjoining lesson at matlabhelper.com/course/numericalmethods-c5l5-tridiagonal-systems-using-gauss-elimination/ for codes & explanation. 0:00 Introduction 0:08 Understanding Tridiagonal Systems 1:50 MATLAB code to implement Tridiagonal Systems
@BestVideos012 жыл бұрын
function x = Tridiag(e,f,g,r) | Error: Function definitions are not permitted in this context.
@MATLABHelper2 жыл бұрын
Is the code just of one line, Was it executed by Run button or through command window? It would be best if you send some snapshot of what you are doing to contact@matlabhelper.com and we will surely guide you
@archit.saxena6 жыл бұрын
We often encounter #tridiagonal matrices in statistical physics, quantum mechanics and rotational physics as well. This video explains the definition precisely and with brevity. Being able to work out a MATLAB code to solve tridiagonal systems is very useful and comes handy.
@MATLABHelper4 жыл бұрын
Archit Saxena, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@anishgupta87126 жыл бұрын
#Triangle_Diagonal_Matrix is a matrix with a band of only 3 elements in each row rest all elements are 0. In tutorial the sub & super diagonal elements are made as -1 and then solved. We can also use #Thomas algorithm to solve tri-diagonal system which converts the band into 2 element form where diagonal elements are made as 1 and super diagonal matrix is put up for calculation. As for loop it will be there depending on number of rows in the matrix, if it is small loop can be avoided too. Thanks for the explanation.
@MATLABHelper6 жыл бұрын
Good Insight
@dishanikam29196 жыл бұрын
System has #bandwidth of three.Consider,f=#diagonal vectors,e=#subdiagonal vectors,g=#superdiagonal vectors,r=#right hand side vectors.In first step we have to define function x=#tridiag(e,f,g,r).Where x is a #solution vector.Define n as length of f i.e. #n=length(f).Uses #forward elimination and then #back substitution.It uses #fprintf() function to print the value.
@MATLABHelper4 жыл бұрын
Disha Nikam, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@HarpreetSingh-xp3ss6 жыл бұрын
Overall the video explains the concept properly with a brief introduction. a little modification can be added (like explanation of the syntax of the for loop) Apart from this video editing is just great and it is easy for a learner to learn the concept with that good video editing and the soundtrack which does not make you feel bored.
@MATLABHelper4 жыл бұрын
Harpreet Singh, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@rajasekargopalsamy49646 жыл бұрын
These type of Matrices are called #Banded matrics. They come across many application #for eg: Central difference method in Finite Difference Method. Special algorithms can be written for Banded Matrices to save time and memory space in solving such systems. #These special algorithms basically rely on making use of the memory space occupied by zeros. #Tridiagonal Matrices are Banded matrices with #bandwidth =3 and semi bandwidth =1
@MATLABHelper4 жыл бұрын
Rajasekar Gopalsamy, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@TheDavedeejay5 жыл бұрын
Awesome!! Many thanks!!
@MATLABHelper4 жыл бұрын
TheDavedeejay, Glad to see your appreciation for our Video. Cheers & Happy MATLABing!
@souvikkundu77356 жыл бұрын
Nice video, concept is Crystal clear
@MATLABHelper4 жыл бұрын
souvik kundu, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@matthewcharles98294 жыл бұрын
Thank you! this really helped me
@MATLABHelper4 жыл бұрын
Glad to know it was helpful
@ajsagulhameed87396 жыл бұрын
Crystal clear explanation...
@MATLABHelper4 жыл бұрын
AJ Sagul Hameed, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@DrSTM19826 жыл бұрын
Very clear .. very useful .. Many thanks for this great explanation
@MATLABHelper6 жыл бұрын
+Saif Manji Thank You for the comment. Don't forget to subscribe to our channel and Share the video with others.
@bhagyakasam17856 жыл бұрын
Clear explanation i got little idea about this
@MATLABHelper4 жыл бұрын
Bhagya Kasam, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@pushpagautam17004 жыл бұрын
Dear sir, this video is really good to understand theory. I followed the MATLAB code exactly as you did but after the last step instead of output the computer says "undefined function 'Tridiag' for input arguments of type 'double' " .So how can I solve the problem? I am hoping you will help me.
@MATLABHelper4 жыл бұрын
Pushpa Gautam, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info For your query, you can refer to the code and explanation at lms.matlabhelper.com/course/numericalmethods-c5l5-tridiagonal-systems-using-gauss-elimination/ or get in touch with us directly. Cheers and All the best!
@anniepriya96186 жыл бұрын
Nice and useful video
@MATLABHelper4 жыл бұрын
Annie Priya, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@sibasishdhibar91734 жыл бұрын
Sir how to solve tridiagonal but the tridiagonal matrix is in the form of block matrix???
@MATLABHelper4 жыл бұрын
Please share your requirements to contact@matlabhelper.com or start online chat at matlabhelper.com and our expert will be glad to help you
@tenoriobritto82685 жыл бұрын
Awesome!!!
@MATLABHelper5 жыл бұрын
Keep MATLABing with MATLABHelper.com
@tenoriobritto82685 жыл бұрын
@@MATLABHelper can you do a tutorial of pentadiang solve?
@MATLABHelper5 жыл бұрын
@@tenoriobritto8268 Sure, We may take time for a new video as our focus is currently on our in-house research project, but we will surely be adding new tutorials as per request. You may request your help at mlhp.link/contact
@ABCTV1474 жыл бұрын
hey, my system in chinese language and i have installed matlab in english version but its does not showing comments in from other language. can you plz help ?
@MATLABHelper4 жыл бұрын
Sure, Get in touch with our online support at matlabhelper.com or write to us at team@matlabhelper.com
@МишаКасьянов-й5я2 жыл бұрын
the best !
@MATLABHelper2 жыл бұрын
leo one, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@RavindraKempaiah6 жыл бұрын
Hi there, I keep getting this error. Could you please help? Error in GaussCubicSpline (line 10) n=length(f);
@ginabehrang6 жыл бұрын
I have the same. Did you figure it up?
@MATLABHelper4 жыл бұрын
Ravindra Kempaiah, Do write to us with your requirement at team@matlabhelper.com or You can start online chat at our website. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@vrkforever90125 жыл бұрын
clear explanation sir......
@MATLABHelper4 жыл бұрын
VRK FOREVER, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@yemmeprasanna72056 жыл бұрын
Thanks for this video. I got some idea about it after watching this.
@MATLABHelper6 жыл бұрын
Thank you for the feedback. Enroll in other courses at matlabhelper.com/courses
@sibasishdhibar91734 жыл бұрын
hello, sir how to solve the Tridiagonal block matrix for finite matrix???
@MATLABHelper4 жыл бұрын
SIBASISH DHIBAR, Do write to us with your requirement at team@matlabhelper.com or You can start online chat at our website. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@shrutijoshi50476 жыл бұрын
Good explanation
@MATLABHelper4 жыл бұрын
Shruti Joshi, Glad to see your appreciation for our Video. Cheers & Happy MATLABing!
@zengalex69513 жыл бұрын
Hey! Can you please explain why vector e starts with 0?
@MATLABHelper3 жыл бұрын
zeng alex, Do write to us with your requirement at team@matlabhelper.com, or You can start an online chat at our website. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@AdityaTiwari-le9oe2 жыл бұрын
Thanks bro , helped me a lot in iit
@MATLABHelper2 жыл бұрын
Aditya Tiwari, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@dynamicdonut24424 жыл бұрын
I followed every step, but I get an "index exceeds the number of array elements" error and an error in line 17 :/
@MATLABHelper4 жыл бұрын
You can get in touch with us at team@matlabhelper.com or start online chat at matlabhelper.com Our experts will be glad to help you with your requirements.
@arathireddyb39436 жыл бұрын
The problem given is nice intresting topic
@MATLABHelper6 жыл бұрын
Thank you for the feedback. Enroll in other courses at matlabhelper.com/courses
@bharathbharadwaj51716 жыл бұрын
I got a small idea about it !! But without using #for loop !! Can we have another type to program this!!
@souvikkundu77356 жыл бұрын
Bharath bharadwaj yeah you can....there are n number of process to solve a problem...
@MATLABHelper4 жыл бұрын
Bharath bharadwaj, Do write to us with your requirement at team@matlabhelper.com or You can start online chat at our website. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@sindhujapolineni29266 жыл бұрын
well explained
@MATLABHelper4 жыл бұрын
Sindhuja polineni, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@XclusiVvHD5 жыл бұрын
Can I get an explanation for the formula for f2 and r2?
@MATLABHelper5 жыл бұрын
Get in touch with us with your query at mlhp.link/contact
@nurchowdhury10087 жыл бұрын
Very useful , thank you :)
@MATLABHelper7 жыл бұрын
+Nur Chowdhury Thanks for appreciating. Do check our other videos as well
@ASHISHPATEL-nu1ig3 жыл бұрын
i tried to solve a 6x6 Tridiagonal matrix it results in error.
@MATLABHelper3 жыл бұрын
ASHISH PATEL, Do write to us with your requirement at team@matlabhelper.com or You can start online chat at our website. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@someshwararnoorla80495 жыл бұрын
you forgot to change the g values in the first loop
@MATLABHelper4 жыл бұрын
Someshwar Arnoorla, Thanks for your comment. Your suggestions are valuable. We would love to improve our videos. Please do suggest how we can improve your experience further, and We will do our best for you. Don't forget to Subscribe to our KZbin Channel. Happy MATLABing!
@saitejapabbisetti65476 жыл бұрын
Could have explained better
@MATLABHelper6 жыл бұрын
Please share your detailed feedback
@Nivop17 жыл бұрын
y la yuyaaaaaa?
@MATLABHelper7 жыл бұрын
+Nivop1 sorry didn't get you.
@dishanikam29196 жыл бұрын
System has #bandwidth of three.Consider,f=#diagonal vectors,e=#subdiagonal vectors,g=#superdiagonal vectors,r=#right hand side vectors.In first step we have to define function x=#tridiag(e,f,g,r).Where x is a #solution vector.Define n as length of f i.e. #n=length(f).Uses #forward elimination and then #back substitution.It uses #fprintf() function to print the value.
@MATLABHelper4 жыл бұрын
Disha Nikam, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info
@Plsmaths6 жыл бұрын
Good and useful video
@MATLABHelper4 жыл бұрын
Niharika S, Glad to see your appreciation for our Video. Do support us by Subscribing to our KZbin Channel at kzbin.info