how to plot the signal with timesteps
1 回表示 (過去 30 日間)
古いコメントを表示
i have a signal value, of dimension 400 x 1.... how to plot the signal with timesteps of 7 microseconds....
0 件のコメント
採用された回答
KSSV
2017 年 3 月 6 日
N = 400 ;
signal = rand(N,1) ; % a random signal
dt = 10^-6 ; % time step
t = zeros(N,1) ; % initilaize time
t(1) = 0 ; % intial time = 0
% generate time
for i = 2:N
t(i) = t(i-1)+dt ;
end
plot(t,signal)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Fourier Analysis and Filtering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!