Multiplying Matrices (Two Questions)

Trying to multiply a matrix by itself through writing a MatLab script which multiplies a square matrix (of size n × n) by itself. Write a MatLab or Octave script which implements Naive Gaussian elimination. The script should take a matrix, A and a vector b as inputs and returns the vector x as an output. Can't figure out these questions, any help is great thanks

1 Comment

James Tursa
James Tursa on 18 Sep 2015
Edited: James Tursa on 18 Sep 2015
Please make an attempt and post it. Then we can comment on it and offer suggestions or corrections.
If you don't know how to multiply a matrix by itself in MATLAB, you have absolutely no hope of writing a Gaussian elimination routine. You should start reading the beginning tutorials in the MATLAB help documentation.

Sign in to comment.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 18 Sep 2015

Edited:

on 18 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!