Octave
GNU/Ocatve⚑
Vectors⚑
Generate vectors⚑
- From $ x_0 = 0 $ to $ x_n = 5 $ with step $ s = 1 $:
ref = [0:1:5]
Concatenate⚑
- Horizontally concatenate row vectors:
new = [ A , B ]
kk = [ones(1,4), zeros(1,4) ]
kk =
1 1 1 1 0 0 0 0