Filter löschen
Filter löschen

i want to coding

1 Ansicht (letzte 30 Tage)
Seemant Tiwari
Seemant Tiwari am 31 Mai 2022
Beantwortet: Dyuman Joshi am 31 Mai 2022
I have file 8760x1 double.
I want to convert this file 365x24 double
Anyone can tell me coding about this problem?
Thank you

Akzeptierte Antwort

Dyuman Joshi
Dyuman Joshi am 31 Mai 2022
y=ones(8760, 1);
size(y)
ans = 1×2
8760 1
z=reshape(y,365,24);
size(z)
ans = 1×2
365 24

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by