How to write a function that does elimination?

Im suppose to write a function that does elimination. I know I'm suppose to use a nested for loop, but I cannot figure out how to do this. I'm very new to programming in general. Could someone please help me?

4 commentaires

Fangjun Jiang
Fangjun Jiang le 24 Sep 2011
Not enough details.
bym
bym le 24 Sep 2011
do you mean Gaussian elimination?
Joseph
Joseph le 25 Sep 2011
Yes a I mean Gaussian elimination using a nested for loop. The answer that was given wasn't using a nested for loop. It was using somethings I've nnever seen before, so can anyone please show me an example of this using a nested for loop?
If someone "gave you an example" of doing it with a nested for loop, what would be left for *you* to do in your homework assignment?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Question posée :

le 24 Sep 2011

Community Treasure Hunt

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

Start Hunting!

Translated by