Azzera filtri
Azzera filtri

How to find a interval of values?

2 visualizzazioni (ultimi 30 giorni)
Alan
Alan il 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 Commento
ChristianW
ChristianW il 4 Apr 2013
Modificato: ChristianW il 4 Apr 2013
I don't understand your intention.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by