How do I sample an aperiodic signal ?

3 ビュー (過去 30 日間)
Kevin Bobby
Kevin Bobby 2022 年 5 月 14 日
回答済み: Sai Charan Sampara 2022 年 6 月 30 日
my code goes like:
x=input('enter x co-ordinates')
y=input('enter y co-ordinates')
f=input('enter sampling frequency')
%function f(x)=
plot(x,y)
How do i sample f(x) at t=min(x):1/f:max(x)
  2 件のコメント
Kevin Bobby
Kevin Bobby 2022 年 5 月 14 日
Assume f(x) is a continuous time signal
Star Strider
Star Strider 2022 年 5 月 14 日
It seems that the function is defined for ‘t’ so it would exist as ‘f(t)’ and sampled at whatever the elements of ‘t’ are (at increments of ‘1/f’). Whether it is periodic is likely irrelevant if the objective is simply to plot it.
.

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

回答 (1 件)

Sai Charan Sampara
Sai Charan Sampara 2022 年 6 月 30 日
Sampling a signal is only a method of changing a continuous time signal into a discrete time signal. It does not depend on the properties of the signal ,that is it being periodic or aperiodic. If the sampling frequency is fs then a sample can be taken at every 1/fs time interval.

カテゴリ

Help Center および File ExchangeSignal Attributes and Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by