Gaussian Elimination in Matlab

  Рет қаралды 174,884

Keith Woodbury

Keith Woodbury

Күн бұрын

Naive Gaussian Elimination in Matlab command window for 4 x 4 matrix. Also use command history to create a Matlab script file.

Пікірлер: 36
10 жыл бұрын
Your sound is like Forrest Gump
@yermekatchibayev4062
@yermekatchibayev4062 3 жыл бұрын
*yroue
@EpateEX
@EpateEX 8 жыл бұрын
I was having an issue with trying to code this in the most general, iterative fashion, but watching this really helped, thanks.
@whoskentay3016
@whoskentay3016 5 жыл бұрын
This dude camera suck but his explanation go hard. Thanks alot Mr. Keith. That was beautiful.
@geoffguest1374
@geoffguest1374 10 жыл бұрын
try this: function x = Gauss2(A, b) % Solve linear system Ax = b % using Gaussian elimination without pivoting % A is an n by n matrix % b is an n by k matrix (k copies of n-vectors) % x is an n by k matrix (k copies of solution vectors) [n, n] = size(A); % Find size of matrix A [n, k] = size(b); % Find size of matrix b x = zeros(n,k); % Initialize x for i = 1:n-1 m = -A(i+1:n,i)/A(i,i); % multipliers A(i+1:n,:) = A(i+1:n,:) + m*A(i,:); b(i+1:n,:) = b(i+1:n,:) + m*b(i,:); end; % Use back substitution to find unknowns x(n,:) = b(n,:)/A(n,n); for i = n-1:-1:1 x(i,:) = (b(i,:) - A(i,i+1:n)*x(i+1:n,:))/A(i,i); end
@brian77771
@brian77771 7 жыл бұрын
YOU ARE A LIFE SAVER
@kastossss
@kastossss 7 жыл бұрын
Did you record this video with calculater body?
@ManuelSeromenho
@ManuelSeromenho 9 жыл бұрын
Hi thanks for the video, do you now a general code for back substitution? For example if I have a matrix bigger or smaller, but if I want to generalize? Like a For loop ?
@priyasharay5089
@priyasharay5089 9 жыл бұрын
Can you do the same video with a general syntax for n *n matrix using loops in m-file ?Thank you
@ronhernandez8857
@ronhernandez8857 9 жыл бұрын
+Priyasha Ray would be cool huh?
@73moustamra87
@73moustamra87 8 жыл бұрын
tried doing your example but my determinant gave me a zero,
@sakshishrivastava6626
@sakshishrivastava6626 8 жыл бұрын
such a good explainantion THANKS :)
@mthemaniac
@mthemaniac 8 жыл бұрын
For some reason I get det (c) = 0 Also get 0 in an online matrix calculator. Something is wrong!
@dayanaroslan5292
@dayanaroslan5292 6 жыл бұрын
THank you very much!
@yuminkochin9095
@yuminkochin9095 4 жыл бұрын
You sound like god.
@omarmorgado5582
@omarmorgado5582 6 жыл бұрын
My name is Forrest Gamp, but you can call me Forrest Gamp.
@TEAGE1403
@TEAGE1403 11 жыл бұрын
greets from germany
@hemachandpriyan1214
@hemachandpriyan1214 11 жыл бұрын
shall u pls comment the code or upload it
@yuminkochin9095
@yuminkochin9095 4 жыл бұрын
Than you so much!!!!
@stevewillams5847
@stevewillams5847 10 жыл бұрын
use a better software next time to capture the video
@olitomar
@olitomar 9 жыл бұрын
yeah, the pixelated screen on HD video looks pretty bad :( thanks for the video!
@giridharsamineni9740
@giridharsamineni9740 6 жыл бұрын
Point ki ra???
@mixasoda
@mixasoda 3 жыл бұрын
Your sound like Montasir
@ican792
@ican792 6 жыл бұрын
Please, people want to get answer straightly by coding, not by manual in coding
@Ch17638
@Ch17638 8 жыл бұрын
Good example poor video quality
@trikal8949
@trikal8949 4 жыл бұрын
Ash9le
@paulbaade3564
@paulbaade3564 2 жыл бұрын
m8 wtf is this video quality?
@matthewmolinar
@matthewmolinar 5 жыл бұрын
EXCELLENT. Thanks edit - If you're complaining about the code/ redundancy, this is the theoretical way to do things, and it's up to you to manipulate it as you see fit, skipping steps, making use of built-in functions, and to also type it up on a script lmao
@산타돼지
@산타돼지 8 жыл бұрын
Many Many thanks for your good lecture!
@산타돼지
@산타돼지 8 жыл бұрын
This lecture released my pain
@maniac123ful
@maniac123ful 6 жыл бұрын
thanks for the epilapsy
@syamsuonfire
@syamsuonfire 7 жыл бұрын
Good video bro
@TheAlbensi
@TheAlbensi 11 жыл бұрын
Thank you Thank you
AMATH352 Gaussian Elimination Matlab
37:32
Niall M Mangan
Рет қаралды 32 М.
Gaussian elimination | Lecture 10 | Matrix Algebra for Engineers
14:00
Jeffrey Chasnov
Рет қаралды 371 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 69 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
Matlab : Linear System using Gauss Elimination
20:18
Engineer Hunter
Рет қаралды 2,6 М.
Gauss Elimination Method with MATLAB code
25:00
ATTIQ IQBAL
Рет қаралды 86 М.
Array manipulation in MATLAB
9:55
RobertTalbertPhD
Рет қаралды 226 М.
Numerical Modeling: Topic 1.5 - Gaussian elimination with partial pivoting
15:53
Gaussian Elimination with Partial Pivoting
8:27
AF Math & Engineering
Рет қаралды 183 М.
Cleve Moler - A mathematician and inventor of MATLAB
6:04
Know the creators
Рет қаралды 1,6 М.
❖ Gaussian Elimination / Gauss-Jordan ❖
8:55
patrickJMT
Рет қаралды 2,8 МЛН
MATLAB Tutorial 4 - A Look at Creating and Calling Functions!
21:49
Numerical Methods ChE McMaster
Рет қаралды 245 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 188 М.
Gauss elimination method | Gauss Elimination Method Example
10:44
Civil learning online
Рет қаралды 324 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17