This page imported from: /afs/bu.edu/cwis/webuser/web/s/c/scv/documentation/tutorials/IDL/manpages/matlab/whos.html


>> clear      % clear memory of all previously defined variables
>> whos       % find out what's in memory (nothing)
>> x = [1,2,3,4,5];   % define x = [1,2,3,4,5]
>> y = [2.0, 5.0, 7.0];   % define y = [2.0, 5.0, 7.0]
>> whos       % again, find out what's in memory
  Name      Size                   Bytes  Class

  x         1x5                       40  double array
  y         1x3                       24  double array

Grand total is 8 elements using 64 bytes