A size(N,M)
I want to create two new matrix:
G whose all row are de division of the previos row of A so that way G size(N-k,M) for k=1
The second matrix GG I want thar each element of each row will be the divions al two next rows. Size(N-k,M) K=2
For example:
A=[2 2 2
4 4 4
8 8 8
12 12 12];
So programming will be
G=[4/2 4/2 4/2
8/4 8/4 8/4
12/8 12/8 12/8]
GG=[2/8 2/8 2/8
4/12 4/12 4/12]
My problem is that octave using for i=1:N....end this king of programming make always the first rows zero.
Thanks in advance.
> From: address@hidden > Subject: Help-octave Digest, Vol 20, Issue 35 > To: address@hidden > Date: Wed, 14 Nov 2007 12:03:39 -0600 > > Send Help-octave mailing list submissions to > address@hidden > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.cae.wisc.edu/mailman/listinfo/help-octave > or, via email, send a message with subject or body 'help' to > address@hidden > > You can reach the person managing the list at > address@hidden > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Help-octave digest..." > > > Today's Topics: > > 1. Re: errorbar (Peter A. Gustafson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 14 Nov 2007 10:24:28 -0500 > From: "Peter A. Gustafson" <address@hidden> > Subject: Re: errorbar > To: address@hidden > Message-ID: <address@hidden> > Content-Type: text/plain; charset="iso-8859-1" > > On Sunday 11 November 2007 09:32:18 Roessli Bertrand wrote: > > Hello, > > > > the syntax of the errobar function is not obvious to me... > > > > plot(1:10,1:10,'or','markersize',3) does work, but > > how can I produce the same plot with errorbars??? > > > > errorbar(1:10,1:10,0.2,'~') is fine, but I would like to change the > > style... > > > > thank you. > > > > Bertrand Roessli > > > > _______________________________________________ > > Help-octave mailing list > > address@hidden > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > The current code for errorbar isn't complete. For the moment, I don't think > you can change the style. > > Pete > > > ------------------------------ > > _______________________________________________ > Help-octave mailing list > address@hidden > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > End of Help-octave Digest, Vol 20, Issue 35 > *******************************************
Express yourself instantly with MSN Messenger! MSN Messenger
|