From help-request at octave dot org Tue Dec 27 22:17:02 2005 Subject: Re: How to use Zeros(x,y,z) function From: Joe Koski To: pUl| , CC: Octave Help Date: Tue, 27 Dec 2005 21:15:21 -0700 Roshan doesn't say which version of octave that is used. The multi-dimensional capabilities of octave have been increasing since about version 2.1.55 or so. I have some MATLAB code that now runs OK that didn't execute under 2.1.50, for example. Until one of the developers responds, I would just experiment with zeros to see if it does now indeed have N-dimensional capabilities. The posting from 1998 is too old to be relevant. Joe on 12/27/05 9:19 PM, pUl| at msrinath80 at netscape dot net wrote: > Related post in the archives -> > http://www.octave.org/octave-lists/archive/help-octave.1998/msg00202.html > > HTH > > > dharshana at hiroshima-u dot ac dot jp wrote: > >> Hi, >> >> MathLab supports zero function with more than two parameters. >> in MathLab, >> B = zeros(d1,d2,d3...) or B = zeros([d1 d2 d3...]) returns an array of zeros >> with dimensions d1-by-d2-by-d3-by-... . >> >> I need to generate a zeros array with d1-by-d2-by-d3 (3D). But according to >> the help Octave supports only for two parameters in Zeros function. Is there >> any way of genarating this kind of matrix using Octave? >> >> I would be greatly appriciate your help. >> >> Thanks >> >> Roshan Dharshana >> >> >> >> >> >> >> ------------------------------------------------------------- >> Octave is freely available under the terms of the GNU GPL. >> >> Octave's home on the web: http://www.octave.org >> How to fund new projects: http://www.octave.org/funding.html >> Subscription information: http://www.octave.org/archive.html >> ------------------------------------------------------------- >> >> >> . >> >> >> > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------