Community Profile

# AlexDp

Ver insignias

#### Content Feed

Ver por

Pregunta

How to restart a for loop when a condition is met?
Hi all, I'm trying to restart a for loop when a specific condition is met. In particular this is my code: for t=2:365; R...

alrededor de 3 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Why in the for cycle the values of the first row of the matrix y(i,j) don't exist?
Hi all, i'm trying to understand why the first row of the matrix "y(i,j) " isn't considered in my expression "FUNCTIONALITY13"...

alrededor de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to put a variable equal to a vector in an if cycle
Hi all, i'm trying to to find a way to have this example: for t=2:365 TIMEFAILURECOG= [2 4 10 50]; Matrixdiff=[0,TIMEFAILUR...

alrededor de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to do: "for each value of the vector A"
Hi all, i'd like to know how is possible to get the iteration for each element of a vector. I show an example. A=[14 5 7 3 8]...

alrededor de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How can i link same index of two vectors vectors?
Hi all, i have these data: A= [a; b; c]; %a, b c are row vectors 1x365 V=var(A'); M= mean(A'); G=max(V) I'd like to know h...

alrededor de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How can I establish that my function must have a fixed value after a specific condition occurs?
Hi all, i'm looking for a method to establish a value for my function "S" . For example if T(1,i)==2 i want my function is S(i)...

alrededor de 3 años hace | 1 respuesta | 0

respuesta