Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
need help with date and hour coding in Matlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
venkat siddhartha rama
el 26 de Dic. de 2018
Cerrada: MATLAB Answer Bot
el 20 de Ag. de 2021
Hello friends,
I am strugling to make a code for above problem. Actually for my project I need two arrays of Date and Hours.Date column contains 1,1,1,1..... so on for 24 times,then changes to 2,2,2,2....so on 24 times and this thing goes on 365 times( no of dats in a year). Hours colum contains 1 ,2,3,4, . . .so on till 24 and then goes back to 1, 2 3 ... to 24. Basically they are hour and date columns in any year. Can anyone please help me with the logic .
0 comentarios
Respuestas (1)
Image Analyst
el 26 de Dic. de 2018
Here's a start:
dates = repelem(1:365, 24)
hours = repmat(1:24, ......
output = [dates, hours];
See if you can finish it.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!