MATLAB Answers

How represent a discrete-time signal in Matlab ?

조회 수: 18(최근 30일)
Basically need two vectors to represent a signal :
- one vector : for horizontal axis (time) .
- second vector : for amplitude of signal .
This is for solve a simple problem ,but if the problem must be using a matrix, or complex vector,... How can I resolve this problem using matlab ? Can you simplify the idea?

채택된 답변

Walter Roberson
Walter Roberson 12 Apr 2018
If the times are not at regular intervals you can use a timeseries object to represent it.
If the times are at regular intervals, then you can still use a timeseries object, but you also have other options such as just keeping a record of the starting time and interval between .

추가 답변(0개)


Community Treasure Hunt

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

Start Hunting!

Translated by