Professional Documents
Culture Documents
Help Space Point: Matlab Instructions
Help Space Point: Matlab Instructions
Help function_name
B = [1 2 3] : vector
- If we have:
D=
1 2
3 4
5 6
And we write:
D (4, : ) = [7 8]
D=
1 2
3 4
5 6
7 8
Ans =
1
3
5
7
Ans =
1 2
- If we want to let N take the values from 1 to 100
N = 1:100;
N = 0:0.4:2;
You can change the current directory from the command line with cd
command, e.g. cd \mystuff
The command cd by itself returns the name of the current directory.