Solving Time-discrete Systems Problem: Plotting x(t)= 10e^-3tu()

  • Thread starter Thread starter Abalo
  • Start date Start date
  • Tags Tags
    Systems
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Abalo
Messages
1
Reaction score
0
Problem:
x(t)= 10e^-3tu()
Plot the continuous-time signal over the range -1≤t≤5
Break up the time range into two ranges t1=[-1 0] and t2=[0:.1:5]. Then concatenate the results, i.e. t=[t1 t2].

My answer was:
t= 0:.3:-1;
x= exp(-3*t).*u(t)
plot (t,x)
axis (-1 0 -3)

Can't plot the function because of issues.
Please help.
 
Physics news on Phys.org
Abalo said:
Problem:
x(t)= 10e^-3tu()
Plot the continuous-time signal over the range -1≤t≤5
Break up the time range into two ranges t1=[-1 0] and t2=[0:.1:5]. Then concatenate the results, i.e. t=[t1 t2].

My answer was:
t= 0:.3:-1;
x= exp(-3*t).*u(t)
plot (t,x)
axis (-1 0 -3)

Can't plot the function because of issues.
Please help.

Welcome to the PF.

There are some typos in your post that make it hard to follow. Also, you do not specify what programming language you are supposed to plot the function with, and why you are not able to plot it.

Please fix the typos and explain to us why you want us to try to plot your homework for you.