photo

AlexDp


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


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...

5 years ago | 2 answers | 0

2

answers

Question


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"...

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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]...

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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)...

5 years ago | 1 answer | 0

1

answer