Random number time series
5 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
s.p4m
2016 年 9 月 13 日
編集済み: s.p4m
2016 年 9 月 13 日
ln = 100; % length of timeseries
Ts = 1; % timestep
for k = 1:ln
tmp_mean = 2+2*(k-1)/(ln-1); % your linearly increasing mean
tmp_devi = 1; % your constant standard deviation
x(k,1) = random('norm',tmp_mean,tmp_devi,1,1);
end
timeseries = iddata(x,[],Ts);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Time Series についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!