0% found this document useful (0 votes)
54 views1 page

Labtask # 4 Time Transformation of A P.W Signal

The document defines a piecewise signal over time intervals t0 to t6 with varying amplitudes x0 to x6. It plots the original signal and then performs a time transformation by calculating a new time vector t7 = 4 - 2*t which inverts and stretches the time axis, inverting and stretching the plotted signal.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

Labtask # 4 Time Transformation of A P.W Signal

The document defines a piecewise signal over time intervals t0 to t6 with varying amplitudes x0 to x6. It plots the original signal and then performs a time transformation by calculating a new time vector t7 = 4 - 2*t which inverts and stretches the time axis, inverting and stretching the plotted signal.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LABTASK # 4 :: TIME TRANSFORMATION OF A P.

W SIGNAL
t0=-4:0.01:-3;
x0=zeros(size(t0));
t1=-3:0.01:-2;
x1=ones(size(t1));
t2=-2:0.01:0;
x2=t2+1
t4=0:0.01:1;
x4=-ones(size(t4));
t5=1:0.01:2;
x5=-t5+2;
t6=2:0.01:4;
x6=zeros(size(t6));
x=[x0 x1 x2 x4 x5 x6];
t=[t0 t1 t2 t4 t5 t6];
subplot(1,2,1)
plot(t,x,'linewidth',2);
% Now transforming the signal;
t7=4-2*t;
subplot(1,2,2);
plot(t7,x,'linewidth',2);
Time transformed signal
1

0.8

0.8

0.6

0.6

0.4

0.4

0.2

0.2

Amplitude

Amplitude

Piecewise Signal
1

0
-0.2

0
-0.2

-0.4

-0.4

-0.6

-0.6

-0.8

-0.8

-1
-4

-2

0
Time

-1
-5

5
Time

10

15

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy