• +1-617-874-1011 (US)
• +44-117-230-1145 (UK)

# Systems and signals square wave

Case I: Square-wave x1(t), 50% duty cycle

f0=500 Hz

To=1/500=0.002s=2 ms

Mathematically, the square-wave can be expressed for a single period as

Therefore the trigonometric Fourier series coefficients of x1(t) are

Case II: Square-wave x2 (t), 25% duty cycle

Mathematically, the square-wave x2 (t) can be expressed for a single period as

Sinusoids from -8 to -1;

```    clear
clc
f_0= 500; % fundamental frequency
t= -0.001:0.00001:0.006; %time axis
Z_50= zeros(1,length(t)); % container for 50% duty cycle waveform
Z_25= zeros(1,length(t)); % container for 25% duty cycle waveform
n=1:16;
n1=sin(pi.*n./2);
d1=(pi.*n./2);
n2=sin(pi.*n./4);
d2=((pi).*n./4);
a_50=[n1./d1]; %fourier coefficients for 50% duty cycle
a_25=[0.5*(n2./d2)]; %fourier coefficients for % duty cycle
for k=1:length(n)
wa=1*cos(2*pi*(k)*f_0*t);
Z_50=Z_50+ a_50(k)*wa;
Z_25=Z_25+ a_25(k)*wa;
end
soundsc(Z_50)
figure (1)
plot(t,Z_50)
hold on
grid on
axis tight
xlabel('time')
ylabel('Amplitude')
title('Square-wave with 50% duty cycle');

figure(2)
plot(t,Z_25)
grid on
axis tight
xlabel('time')
ylabel('Amplitude');
title('Square-wave with 25% duty cycle');
```

## Cite This work.

Urgent Homework (2022) . Retrive from https://www.urgenthomework.com/sample-homework/systems-and-signals-square-wave

"." Urgent Homework ,2022, https://www.urgenthomework.com/sample-homework/systems-and-signals-square-wave

Urgent Homework (2022) . Available from: https://www.urgenthomework.com/sample-homework/systems-and-signals-square-wave

[Accessed 10/08/2022].

Urgent Homework . ''(Urgent Homework ,2022) https://www.urgenthomework.com/sample-homework/systems-and-signals-square-wave accessed 10/08/2022.

Talk to our expert to get the help with Systems and signals square wave Assignment to complete your assessment on time and boost your grades now

The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks.Â The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.

### Get Online Support for Systems and signals square wave Assignment Assignment Help Online

#### Resources

• 24 x 7 Availability.
• Trained and Certified Experts.