i want to coding

1 次查看(过去 30 天)
Seemant Tiwari
Seemant Tiwari 2022-5-31
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
y=ones(8760, 1);
size(y)
ans = 1×2
8760 1
z=reshape(y,365,24);
size(z)
ans = 1×2
365 24

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by