Here is what I did:

```
w = zeros(1,28);

e = zeros(1,63) + 1;

r = zeros(1,90) + 2;

t = zeros(1,100) + 3;

y = zeros(1,90) + 4;

u = zeros(1,63) + 5;

i = zeros(1,28) + 6;

qa = horzcat(w,e,r,t,y,u,i);

hist(qa,25,0.5)

h = findobj(gca,'Type','patch');

set(h,'FaceColor',[.955 0 0],'EdgeColor','w');

```

I would like to achieve the effect, but it in a more succinct way. This is my attempt:

```
v= zeros(1,28);

for i=2:8
    v(i) = horzcat(v(i-1) + (i-1));
end

```

And the error I receive is "Cell contents assignment to a non-cell array object."

Also, would anyone know what the python equivalent would be, if it is not too much to ask?