simple for loop for 6 hourly timestep.

1 次查看(过去 30 天)
How can I create matlab code for following simple logic?
for single day, 6hrly data, there are 4 time step.
no_of_timestep=4;
0hr 6hr 12hr 18hr x1 x2 x3 x4
x1=x1, x2=x2-x1, x3=x3-x2, x4=x4-x3,
Thanks.
Kind regards.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by