help-octave
[Top][All Lists]
Advanced

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

How to use Zeros(x,y,z) function


From: dharshana
Subject: How to use Zeros(x,y,z) function
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
-------------------------------------------------------------



reply via email to

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