i want to coding

1 view (last 30 days)
Seemant Tiwari
Seemant Tiwari on 31 May 2022
Answered: Dyuman Joshi on 31 May 2022
I have file 8760x1 double.
I want to convert this file 365x24 double
Anyone can tell me coding about this problem?
Thank you

Accepted Answer

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

More Answers (0)

Categories

Find more on Get Started with Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!