Borrar filtros
Borrar filtros

last daily observation in a month (not lbusdate)

1 visualización (últimos 30 días)
Dave
Dave el 16 de Nov. de 2017
Respondida: Dave el 16 de Nov. de 2017
is there a way to keep only the last observation in a month from a datenum vector? For example
A=
729530
729537
729544
729551
729558
729565
That is
20-May-1997
27-May-1997
03-Jun-1997
10-Jun-1997
17-Jun-1997
24-Jun-1997
So the new vector should be only rows 2 and 6.
B=
729537
729565
This is not lbusdate.

Respuesta aceptada

Dave
Dave el 16 de Nov. de 2017
Solved, used accumarray with @max

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by