From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 2279/CH5/EX5.7/Ex5_7.sce | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 2279/CH5/EX5.7/Ex5_7.sce (limited to '2279/CH5/EX5.7') diff --git a/2279/CH5/EX5.7/Ex5_7.sce b/2279/CH5/EX5.7/Ex5_7.sce new file mode 100644 index 000000000..b1a9f8517 --- /dev/null +++ b/2279/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,50 @@ +//Fourier Series coefficients of half-wave rectifier output +//Assume the period of the signal T=1 +t=-0.5:0.01:1; +T = 1; +for i=1:length(t) + if t(i)