I have file 8760x1 double.
I want to convert this file 365x24 double
Anyone can tell me coding about this problem?
Thank you

 Respuesta aceptada

Dyuman Joshi
Dyuman Joshi el 31 de Mayo de 2022

0 votos

y=ones(8760, 1);
size(y)
ans = 1×2
8760 1
z=reshape(y,365,24);
size(z)
ans = 1×2
365 24

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 31 de Mayo de 2022

Respondida:

el 31 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by