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

 採用された回答

Dyuman Joshi
Dyuman Joshi 2022 年 5 月 31 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by