help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 20, Issue 35


From: Francesco Potorti`
Subject: Re: Help-octave Digest, Vol 20, Issue 35
Date: Fri, 16 Nov 2007 09:41:47 +0100

>Supose a matrix A that is sized (N,M) N=row M=colum
> 
>I want to create two new matrix:
> 
>A new matrix G that divide all rows (each element of the row) of A by
>the two rows before (or previos) from A.

Let's try with M=1.  Suppose you have A=[1 2 3 4 5]'.
 A = 1
     2
     3
     4
     5

How should your result look like?

>The problem is that I create a new matrix using for...end

Well, everything would be clearer if you posted the code :)

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
Web: http://fly.isti.cnr.it/           Key:   fly.isti.cnr.it/public.key


reply via email to

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