function output=linear_model(P_0,b,n)
%This function takes as input an initial value (P_0), the linear parameter (b), and a length (n)
%and returns the model values of length n starting at P_0 with P_n=P_(n-1)+b
output=zeros(1,n+1);
output(1)=P_0;
for i=1:n
    output(i+1)=output(i)+b;
end

    

