transform data from hourly to quarter hourly

Hi everyone, I kindly ask you for help for a problem that I am facing, basically I have hourly data of active power produced by photovoltaic systems.
I would like to broaden the resolution of this data, transforming it from hourly to quarter hourly with some sort of fitting or interpolation.
How can it be done? is there any function on matlab that can help me?
Here is an example excel file.
Thanks in advance for your help.

4 comentarios

VBBV
VBBV el 15 de Dic. de 2020
Use timetable and retime functions
Giuseppe D'Amico
Giuseppe D'Amico el 15 de Dic. de 2020
how should i write the function to get quarter hourly data?
Giuseppe D'Amico
Giuseppe D'Amico el 16 de Dic. de 2020
but what timestep should I write to have them in the quarter hour? and what interpolation method should I use?

Iniciar sesión para comentar.

 Respuesta aceptada

Daniel Pollard
Daniel Pollard el 15 de Dic. de 2020

1 voto

The vector x can be datetime values.

7 comentarios

Giuseppe D'Amico
Giuseppe D'Amico el 16 de Dic. de 2020
would you give me an example of how to use it?
Daniel Pollard
Daniel Pollard el 16 de Dic. de 2020
The documentation that I linked to contains numerous examples, including some which I think are directly applicable to your situation. What more example do you need?
Giuseppe D'Amico
Giuseppe D'Amico el 16 de Dic. de 2020
I'm trying but it always gives me a mistake and I don't understand what I'm wrong
Daniel Pollard
Daniel Pollard el 16 de Dic. de 2020
Usually the error messages are useful. What exactly does it say?
Giuseppe D'Amico
Giuseppe D'Amico el 16 de Dic. de 2020
noy enough input argument.
Giuseppe D'Amico
Giuseppe D'Amico el 16 de Dic. de 2020
hello, sorry I managed to solve.
Thank you very much, especially for your patience.
Daniel Pollard
Daniel Pollard el 17 de Dic. de 2020
Excellent, I'm glad you managed to get it working. If you could accept the answer so other users know what helped solve your problem that would be great.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 15 de Dic. de 2020

Comentada:

el 17 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by