Info

This question is closed. Reopen it to edit or answer.

plz see my code and save 'mj' result

1 view (last 30 days)
kaavya subramani
kaavya subramani on 7 Oct 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
ci=1;
mj=[];
for vi=1:length(kp)
if kp(vi)>=450
mj(ci)=vi;
ci=ci+1;
end
end

Answers (1)

Walter Roberson
Walter Roberson on 7 Oct 2015
Edited: Walter Roberson on 7 Oct 2015
save('SomeFileName.mat', 'mj');
By the way:
mj = find(kp >= 450);

This question is closed.

Community Treasure Hunt

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

Start Hunting!