필터 지우기
필터 지우기

Calculating ∆t from data set and plotting

조회 수: 3 (최근 30일)
jacob Mitch
jacob Mitch 2019년 10월 15일
If I have financial data with prices as the first column and I create an array of integers from 1 to the length of data to use as a time axis am I correct in calculating deltaT
Thetotalnumberdays=10 %size of the first column
arraynumbers=1:Thetotalnumberdays %use as time axis
deltat=diff(arraynumbers) %possible deltat?
Which gives me a new array of singles. How would I then proceed to calculate specific values of ∆t such as ∆t=1 and is it possible to relate this to prices in that. I wish to plot d1(t) in that.
dt(t)=x(t+t)+x(t)
for x prices

답변 (0개)

카테고리

Help CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by