SUNY Geneseo Department of Mathematics
Wednesday, September 17
Math 230 01
Fall 2014
Prof. Doug Baldwin
reshape
function?v = 1:10
v =
Columns 1 through 9
1 2 3 4 5 6 7 8 9
Column 10
10
reshape( v, [2, 5] )
ans =
1 3 5 7 9
2 4 6 8 10
m = [1 2 3 4; 5 6 7 8; 9 10 11 12]
m =
1 2 3 4
5 6 7 8
9 10 11 12
reshape( m, [6, 2] )
ans =
1 3
5 7
9 11
2 4
6 8
10 12
mandist
function?norm
functionsum
, etc.