How represent a discrete-time signal in Matlab ?
1 view (last 30 days)
Show older comments
Johan Johan
on 12 Apr 2018
Answered: Walter Roberson
on 12 Apr 2018
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?
0 Comments
Accepted Answer
Walter Roberson
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Time Series Events in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!