Multiplying Matrices (Two Questions)

5 visualizzazioni (ultimi 30 giorni)
Robbie  Delaney
Robbie Delaney il 18 Set 2015
Modificato: James Tursa il 18 Set 2015
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 Commento
James Tursa
James Tursa il 18 Set 2015
Modificato: James Tursa il 18 Set 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by