MATLAB Answers

How to Plot a Continues Tiime Signal

53 views (last 30 days)
Muhammad Fauzan
Muhammad Fauzan on 12 Jan 2021
Commented: Star Strider on 12 Jan 2021
i am unable to plot the following signal can anyone help me?
a) x(t)u(1-t); b) x(t)[u(t)-u(t-1)];
Please Help me!
I just want the matlab code

Answers (1)

Star Strider
Star Strider on 12 Jan 2021
I have no idea what ‘x(t)’ is.
I usually code the uint step function as:
u = @(t) t>=1;
althoug other options are possible.
You will need element-wise operations. See Array vs. Matrix Operations for help with that.
Star Strider
Star Strider on 12 Jan 2021
I do not believe it is.
The time must be monotonically increasing. Your function is supposed to reproduce that plot.

Sign in to comment.



Community Treasure Hunt

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

Start Hunting!

Translated by