필터 지우기
필터 지우기

Time for a series of pictures

조회 수: 2 (최근 30일)
Mohammed Qahosh
Mohammed Qahosh 2019년 6월 11일
댓글: Mohammed Qahosh 2019년 6월 12일
I have a series of pictures, each one is taken in a well know time period(exposure time). I am making a code such that I need to find the time for each picture.
example:
picture #1 was taken in a time interval of 0.25 sec.
picture #2 was taken in a time interval of 0.50 sec.
picture #3 was taken in a time interval of 0.25 sec.
I need to write a code contains the time at which each picture is taken. How could I do that.
We know that the time should be.
picture#1 time =0 sec (reference point)
picture#2 time=0+0.50
picture#3 time=0+0.50+0.25
That is I add the summ of the previous time to the time interval of the picture.( How to write that in a code)

채택된 답변

Shunichi Kusano
Shunichi Kusano 2019년 6월 12일
Hi, Mohammed. You need cumsum function.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by