[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying a submatrix in Octave

From: Dadgar Javid, Gholamreza
Subject: Displaying a submatrix in Octave
Date: Tue, 10 Jul 2001 14:22:07 +0200

Hi all,

I'm a newee in Octave. Could anyone give me a hint ?

I have a m X n  matrix (say A) and I want to specify a submarix of A, 
beginning from row m1 and column n1. Of course  A(m1:m, n1:n) does this. 
But in my case the values of  "m"  and "n" are not known (their values 
change during the program). Is there any similar command which does 
the same as A(m1:m, n1:n) WHEN m AND n ARE NOT KNOWN ? 

Many thanks in advance.

G.D. Javid      
Email: address@hidden

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]