how to use ones(A)?
- To: mathgroup at smc.vnet.net
- Subject: [mg88211] how to use ones(A)?
- From: second_444 <second_444 at 126.com>
- Date: Mon, 28 Apr 2008 04:40:29 -0400 (EDT)
v=[1 2 3];a=ones(v) the result is: a(:,:,1) = 1 1 a(:,:,2) = 1 1 a(:,:,3) = 1 1 why do it has the above three vectors?What do they mean?
- Follow-Ups:
- Re: how to use ones(A)?
- From: "W_Craig Carter" <ccarter@mit.edu>
- Re: how to use ones(A)?