Re: help to flush out the values of variables
- From: "Dav" <warrend100@xxxxxxxxxxx>
- Date: 30 Nov 2005 00:13:34 -0800
What I would suggest to you is to declare an array with the same
varible name as the one that you want to clear. Preset the matrix
values to zero. For example
start with
matrix y = [1 2 3 4 5]
if y = zeros(1,5); =>meaning put zeros in the 1st row, elements 1-5
y then becomes
y = [0 0 0 0 0]
You can also intialize a matrix to using all ones by using y=
ones(1,5);
I hope that this helps.
-David
.
- References:
- help to flush out the values of variables
- From: Allen
- help to flush out the values of variables
- Prev by Date: Re: writting an array as an image
- Next by Date: Re: GMSK, MSK modem
- Previous by thread: help to flush out the values of variables
- Next by thread: Simulink RTI problem. Pls help
- Index(es):
Relevant Pages
|