From help-request at octave dot org Tue Dec 27 21:41:28 2005 Subject: Re: How to use Zeros(x,y,z) function From: pUl| To: dharshana at hiroshima-u dot ac dot jp CC: help at octave dot org Date: Tue, 27 Dec 2005 21:19:30 -0700 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 -------------------------------------------------------------