plz see my code and save 'mj' result

ci=1;
mj=[];
for vi=1:length(kp)
if kp(vi)>=450
mj(ci)=vi;
ci=ci+1;
end
end

Answers (1)

save('SomeFileName.mat', 'mj');
By the way:
mj = find(kp >= 450);

This question is closed.

Asked:

on 7 Oct 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!