필터 지우기
필터 지우기

simple for loop for 6 hourly timestep.

조회 수: 1 (최근 30일)
ektara
ektara 2013년 11월 19일
편집: The Matlab Spot 2013년 11월 19일
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.
  댓글 수: 1
The Matlab Spot
The Matlab Spot 2013년 11월 19일
편집: The Matlab Spot 2013년 11월 19일
do you mean creating possible values for x
x = [0:6:18];

댓글을 달려면 로그인하십시오.

답변 (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