nina 2% matlab

                            < M A T L A B (R) >
                (c) Copyright 1984-97 The MathWorks, Inc.
                            All Rights Reserved
                             Version 5.1.0.421
                                May 25 1997

 
  To get started, type one of these commands: helpwin, helpdesk, or demo.
  For information on all of the MathWorks products, type tour.
 
>> helpwin

>> help funfun

>> help elmat

>> help elfun

>> pwd

ans =

/home/aeem/len/classes.dir/aero361.dir

>> dir

.                aero361_data.csv input            spreadsheet      
..               aero361_data.tsv input.pc         typescript       
Fortran          classdata.XS3    replace.c        
Matlab           data             script           
aero361_data.as  form.XS3         script.ckp       

>> cd ..

>> pwd

>> dir

>> cd aero361.dir

>> dir

>> type script


>> 5*4

ans =

    20

>> x=5*4

x =

    20

>> x

x =

    20

>> x=5*4;

>> x

x =

    20

>> who

Your variables are:

ans       x         

>> X= [1 2 3]

X =

     1     2     3

>> X= [1,2,3]

X =

     1     2     3


>> X=[1;2;3]

X =

     1
     2
     3

>> X'

ans =

     1     2     3

>> A=[1,2,3;4,5,6;7,8,9]

A =

     1     2     3
     4     5     6
     7     8     9

>> who

Your variables are:

A         X         ans       x         

>> whos
  Name      Size         Bytes  Class

  A         3x3             72  double array
  X         3x1             24  double array
  ans       3x1             24  double array
  x         1x3             24  double array

>> B=A'

B =

     1     4     7
     2     5     8
     3     6     9


>> B= inv(A);



>> X=[1;2;3];

>> A*X

ans =

    14
    32
    50

C = A(1,1:3);
C = A(1,2:3);
M=[A,X];
M=[A;X];
M=[X;X];
path

>> load data2b

>> data2b

data2b =

    0.1329    0.2847
    0.1987    0.6865
    0.2635    0.9689
    0.3272    1.1854
    0.3894    1.3595
    0.4499    1.5039
    0.5084    1.6261
    0.5646    1.7310
    0.6184    1.8219
    0.6693    1.9011
    0.7174    1.9704
    0.7622    2.0310
    0.8036    2.0839
    0.8415    2.1300

>> data2b(4, 2)

ans =

    1.1854


>> dir /remote/apps/matlab5.1/toolbox/splines
dir