From help-request at octave dot org Tue Dec 27 21:08:34 2005 Subject: How to use Zeros(x,y,z) function From: To: help at octave dot org Date: Tue, 27 Dec 2005 19:55:25 -0600 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 -------------------------------------------------------------