I learn new great stuff all the time with this language: You should actually do
p = fill(a/Nb, Nb) On Monday, October 26, 2015 at 12:59:03 PM UTC+1, DNF wrote: > > If you want constant values you should do > > p = zeros(Nb) + a/Nb > or > p = ones(Nb) * a/Nb >