photo

Mia Dier


Last seen: quasi 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

MATLAB Answers

13 Domande
0 Risposte

RANK
34.579
of 300.369

REPUTAZIONE
1

CONTRIBUTI
13 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
84.62%

VOTI RICEVUTI
1

RANK
 of 20.936

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.436

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Indexing by using column names
I have a table with column names A, B C. I want to create an array col_index=[1 0 1] by using the column names only.

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Identifying same values of two arrays
I have two string arrays: array1 and array2. I want to create a variable named change that is equal to 0 if array1 and array2 ar...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Naming variables according to the values of another variable
I have a variable A=[1;2;5] and I want to use the values of this variable in the name of the new variables I'm going to creat...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Rowfun without changing the order
I want to use rowfun but I don't want the resulting outcome to be sorted according to the grouping variables that I specify. I w...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Conditional average (need help with speed)
I have a table that looks like this: country_id year M T average_T 1 2000 10 76 Na...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to count the number of times that the previous observation was repeated
I have a table that looks like this: country_id year M 1 2000 10 1 2001 ...

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


How to add a NaN row at the beginning columns of a table?
I have a code that looks like this: A(:,1)=[NaN;B(1:end-1)]; A(T.id(1:end)~=[NaN;T.id(1:end-1)],1)=NaN; A(:,2)=[NaN;NaN;...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Changing value when first time a value appears
A=[1; 1; 1; 1; 2; 2; 4; 4; 4; 4] B=[4; 2; 7; 9; 5; 0; 2; 6; 1; 0] I want to change the values of B to NaN whenever a value i...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to calculate the number of times the values of a column changes
I want to calculate the number of times of column A changes over the last 5 years for each id number not counting the current ye...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Variance when only one observation is not NaN
I am trying to calculate a moving variance of the max last 5 years of observations. I have a tabke that looks like this: id ...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


EDITED: Variance when only one observation is not NaN
EDITED: I think my problem was not clear from the previous example. So, I added a new one below here: I am trying to calcula...

quasi 5 anni fa | 2 risposte | 0

2

risposte

Domanda


How to count the number of times that values changes?
A=[1 1 1 2 1 3 3 1 1]' I want to get: B=[NaN 0 0 1 2 3 3 4 4]' The second and third values of B are 0 because A doesn't cha...

quasi 5 anni fa | 2 risposte | 1

2

risposte

Domanda


How to count the number of times that the previous observation was repeated
I have a table that looks like this: country_id year M 1 2000 10 1 2001 ...

quasi 5 anni fa | 1 risposta | 0

1

risposta