Filter löschen
Filter löschen

How to find a interval of values?

1 Ansicht (letzte 30 Tage)
Alan
Alan am 4 Apr. 2013
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
  1 Kommentar
ChristianW
ChristianW am 4 Apr. 2013
Bearbeitet: ChristianW am 4 Apr. 2013
I don't understand your intention.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by