Mia Dier
Followers: 0 Following: 0
Estadísticas
13 Preguntas
0 Respuestas
CLASIFICACIÓN
33.642
of 289.889
REPUTACIÓN
1
CONTRIBUCIONES
13 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
84.62%
VOTOS RECIBIDOS
1
CLASIFICACIÓN
of 19.604
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 144.255
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
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.
más de 2 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
casi 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
casi 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
más de 3 años hace | 0 respuestas | 0
0
respuestasPregunta
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...
más de 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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 ...
más de 3 años hace | 0 respuestas | 0
0
respuestasPregunta
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;...
más de 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
más de 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
más de 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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 ...
más de 3 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
más de 3 años hace | 2 respuestas | 0
2
respuestasPregunta
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...
más de 3 años hace | 2 respuestas | 1
2
respuestasPregunta
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 ...
más de 3 años hace | 1 respuesta | 0