Hello,
Here the code where I have a problem:
F=ones(1,length(Agreable_Desagreable));
for i=1:length(x(1,:))
group=F.*i
end
end
With:
length(Agreable_Desagreable)=22
length(x(1,:))=85
The result only contains de last incrementation values:
group=[85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85]
22* the values 85
How can I do to store every value?
Thank you !
What I have tried:
for i=1:length(x ( 1 , : ))
for j=0:22:length(F)*length(x ( 1 , : ))
group(j)=F.*i
end
end
or
for i=1:length(x ( 1, : ))
group(i+(length(Agreable_Desagreable)-1))=F.*i
end
etc. Things like that and nothing works...