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

  • Thread starter Thread starter Abalo
  • Start date Start date
  • Tags Tags
    Systems
Click For Summary
SUMMARY

The discussion focuses on plotting the continuous-time signal defined by the equation x(t) = 10e^(-3t)u(t) over the range -1 ≤ t ≤ 5. The user attempted to define the time variable t in MATLAB with the command t = 0:.3:-1, which is incorrect as it does not cover the specified range. The correct approach involves breaking the time range into two segments, t1 = [-1, 0] and t2 = [0:0.1:5], and concatenating them to form t = [t1, t2]. The user also needs to clarify the programming language and the specific issues encountered while plotting.

PREREQUISITES
  • Understanding of continuous-time signals and the unit step function u(t)
  • Familiarity with MATLAB syntax and plotting functions
  • Knowledge of exponential decay functions
  • Ability to manipulate arrays and concatenate in MATLAB
NEXT STEPS
  • Learn MATLAB array concatenation techniques
  • Study MATLAB plotting functions for continuous-time signals
  • Explore the concept of the unit step function in signal processing
  • Investigate exponential decay and its applications in engineering
USEFUL FOR

Students and professionals in engineering, particularly those studying signal processing or control systems, will benefit from this discussion. It is also useful for MATLAB users looking to improve their plotting skills.

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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
Replies
2
Views
3K