Error using the count function.

p_all(countA,:)=kk;
hh=find(kk==0);
jj=kk(hh(1,1):end);
q=-diff(jj);
qq=find(q(1:end-1)>0 & q(2:end)<0);
ff=[(hh(1,1)+qq(1,1)),(hh(1,1)+qq(1,3))
aa=kk(ff(1,1):ff(1,2));%im having error in this part.
??? Error: File: Q10.m Line: 86 Column: 3 The expression to the left of the equals sign is not a valid target for an assignment. I don't know what is wrong?

Answers (0)

Categories

Products

Tags

No tags entered yet.

Asked:

on 18 Mar 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!