Skip to main content
20-Turquoise
September 16, 2010
Solved

Interchanging Row.

  • September 16, 2010
  • 3 replies
  • 5198 views

Hi,

I really need help with following attachment file.

Regard,

Loi Le.

Best answer by RichardJ

It usually best to start by defining some basic helper functions. Firstly because they are reusable for other tasks, and secondaly because the main program is then usually easier to write.

3 replies

1-Visitor
September 16, 2010

Loi Le wrote:

Hi,

I really need help with following attachment file.

Regard,

Loi Le.

It's not clear from your worksheet exactly what your trying to do.

What does "Given Input Picture" mean?

Mike

19-Tanzanite
September 16, 2010

Does this help?

Alan

1-Visitor
September 16, 2010

Alan Stevens wrote:

Does this help?

Alan

Alan,

Have a look at the attached programmed method.

Mike

19-Tanzanite
September 16, 2010

Alan,

Have a look at the attached programmed method.

Mike

Mike,
Strictly speaking you haven't interchanged the rows, just moved the positions of the numbers 1, 2, 3 and 4. This might be perfectly acceptable, of course, if all the other terms in the matrix are identical (as they are in the example provided). Certainly a programmed method would be more flexible than my "handraulic" method.
Alan
1-Visitor
September 16, 2010

Loi Le wrote:

Hi,

I really need help with following attachment file.

Regard,

Loi Le.

I have replied few days ago ... interchange row/col ... I think you were the visitor, but if you change thread for the same subject, that does not help !

MCADmatrixinterchange.gif

jmG

lvl10720-TurquoiseAuthor
20-Turquoise
September 20, 2010

Thanks a lot.

Continued_Interchange_Rows.PNG

1-Visitor
September 21, 2010

Loi Le wrote:

Thanks a lot.

Continued_Interchange_Rows.PNG

The kind of interchange looks a "rotation"