"Clear" Command

Hi,

I have a student version of GAUSS (not GAUSS Light). I'm familiar with the command "clear" of the full version, which clears the saved data in the variables. What is the corresponding command in my student version? I'm struggling to find it through my help engine.

Tnx,

Ziv

1 Answer



0



The clear command works the same way in all versions of GAUSS. You can use it to set specific variables to a scalar zero. For example:

//Set 'x' and 'y' to random
//normal 100x100 matrices
x = rndn(100, 100);
y = rndn(100, 100);

//Set 'x' and 'y' equal to scalar zero
clear x,y;

If you would like to remove all variables from your GAUSS workspace, you can do that with the new command.

aptech

1,773

Your Answer

1 Answer

0

The clear command works the same way in all versions of GAUSS. You can use it to set specific variables to a scalar zero. For example:

//Set 'x' and 'y' to random
//normal 100x100 matrices
x = rndn(100, 100);
y = rndn(100, 100);

//Set 'x' and 'y' equal to scalar zero
clear x,y;

If you would like to remove all variables from your GAUSS workspace, you can do that with the new command.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.