How to find a interval of values?

2 次查看(过去 30 天)
Alan
Alan 2013-4-4
Hello all,
I have some problems with my matlab syntax. My goal: I'm trying to build a function where I can withdraw a specific data set including an interval (+ or - a value) . This is the core. I have a loop and one condition. So I want to put in another cell including the exact values and those additional values (+ or - the exact value) thank you
MCR is a matrix
i is number of column to this matrix
for i=1:n;
if MCR(:,i)~=0
IMCR{i,1}=find(MCR==MCR(:,i));
end
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by