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 Kommentare

Fangjun Jiang
Fangjun Jiang am 24 Sep. 2011
Not enough details.
bym
bym am 24 Sep. 2011
do you mean Gaussian elimination?
Joseph
Joseph am 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?
Walter Roberson
Walter Roberson am 25 Sep. 2011
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Sep. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by