How Do You Express a Piecewise Function Using Singularity Functions?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
E&H12
Messages
6
Reaction score
0
I was given the problem to:
express the following signal in terms of the singularity function

g(t)= t-1, 1<t<2
1, 2<t<4
4-t, 4<t<5
0, otherwise


I graphed this function it is attached in below.

My final answer for this function is

g(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5).

Is this answer correct? Thank You
 

Attachments

  • singularity_function.png
    singularity_function.png
    1.9 KB · Views: 692
Last edited:
Physics news on Phys.org
I made a correction to the last term, it was a typo. thou thanks scott.
 
Singularity Function ans from professor

So my linear systems professor had an answer that looked like this, but i really don't agree with this answer. Will someone please explain which one is correct? Where did my professor get those last terms from? (it does not make sense to me)
 

Attachments

  • singularity_function_ans.PNG
    singularity_function_ans.PNG
    25.8 KB · Views: 935
The original specification includes: 4-t for 4<t<5
So this would range from 4-4 to 4-5 or 0 to -1. So your original graph is wrong and the teacher is correct.
(Sorry, I didn't catch that one either)
Still, your original graph is useful as an intermediate result. Your teach called your function G3 and his/her work is in agreement with your corrected result:
g3(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5)

But then we need to drop that 4<t<5 segment so we need a -u(t-4)+u(t+5).
The whole thing becomes, just as your teacher reported:
g(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5)-u(t-4)+u(t+5)
 
  • Like
Likes   Reactions: 1 person