フィルターのクリア

how to perform time scaling( expansion and compression ) on continuous and bounded signal?

29 ビュー (過去 30 日間)
yogesh kachhara
yogesh kachhara 2016 年 11 月 13 日
回答済み: Ragul 2024 年 2 月 20 日
a matlab code to perform time scaling( expansion and compression ) on continuous and bounded signal?
  1 件のコメント
Daniel kiracofe
Daniel kiracofe 2016 年 11 月 13 日
well to give a proper answer, we need more information about what you are trying to do. But in the general sense, a signal in matlab is usually just a representated vector, and the time information is usually a separate vector. e.g.
t=0:0.001:10;
signal = sin( 10 * 2 * pi * t);
plot(t, signal);
So to do scaling on the time, you don't have to touch the signal vector, just scale the time vector. e.g. tscale=t*2, or tscale=t/2 or whatever you want.

サインインしてコメントする。

回答 (2 件)

Ragul
Ragul 2024 年 2 月 20 日
t=0:0.001:10;
signal = sin( 10 * 2 * pi * t);
plot(t, signal);

Ragul
Ragul 2024 年 2 月 20 日
t=0:0.001:10;
signal = sin( 10 * 2 * pi * t);
plot(t, signal);

カテゴリ

Help Center および File ExchangeSignal Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by