a.
MATLAB CODE
clear all;
clc;
t=-10:0.01:10; % Time Vector
y=sign(t); % signum function
plot(t,y,'*'); % plot
grid on
title('Signum ');
xlabel('t (sec)')
ylabel('Amplitude');
b.
MATLAB CODE
clear all ;
clc ;
x=-4*pi:0.1:4*pi ; %axis defination
y=sinc(x) ; %sin(pi*x)/(pi*x)
plot(x,y,'r'); %plot
grid on
title('Sinc Function');
xlabel('t in sec')
ylabel('Amplitude');
a) A step function has following characteristic 1for t > 0 -1 for t < 0...
You are given a finite step function xt=-1 0<t<4 1 4<t<8. Hand calculate the FS coefficients of x(t) by assuming half- range expansion, for each case below. Modify the code below to approximate x(t) by cosine series only (This is even-half range expansion). Modify the below code and plot the approximation showing its steps changing by included number of FS terms in the approximation. Modify the code below to approximate x(t) by sine series only (This is odd-half range expansion).. Modify...
please answer this multiple choice question The following statement concerns questions 1-3. The function f(t) is called the sinc function. It is well used in physics and engineering, with applications in signal processing and information theory. It can be extended to be defined at t = 0, sin(t) for t 0 f(t) for t 0. 1.0 0.6 CA 0.4 0.2 -5 -02 Figure 1: Graph of the sinc function. a common quantity compute is the energy of the signal. The...
Let 17x2 + sinx -- 6. 1+r2 T And let h be a function of the derivative 8(x) = efv1 + x2 1+ arctan2x A) Let f1(x) = h(x)cosx. what is f'1(0)? B) Let f2(x) = g(6x+h(x)). what is f '2 (0)?
I need a Matlab code example plz 1. Suppose x(t) -3u(t+3) - u(t)+ 3H(t-3) - 5H(t-6) a. Sketch x(t). b. For the signal x(t) given, determine and sketch the following signals: ,g(t) x(t-6) g2(t) - x(3t-6) ii. s(t) x(3t-6) +2 c. Create a MATLAB script that uses a function to express x(t), and plots x(t) in the time interval- 5 < t < 8s, using a time increment of At= 0.01s. Next, use the function to graph each of the...
Numerical Methods Consider the following IVP dy=0.01(70-y)(50-y), with y(0)-0 (a) [10 marks Use the Runge-Kutta method of order four to obtain an approximate solution to the ODE at the points t-0.5 and t1 with a step sizeh 0.5. b) [8 marks Find the exact solution analytically. (c) 7 marks] Use MATLAB to plot the graph of the true and approximate solutions in one figure over the interval [.201. Display graphically the true errors after each steps of calculations. Consider the...
**Using MATLAB** 0 t (s) -4 -3 -2 -1 -1 Entire an equivalent function for the plot shown here using the step function, u(t) 0 t (s) -4 -3 -2 -1 -1 Entire an equivalent function for the plot shown here using the step function, u(t)
Please show the code necessary, and explanations on MATLAB. Plotting 11) Plot the function y = sin(x) from x = 0 to 21. 12) Plot the functions y = x2 z = x2 + 2x + 1 from x = 0 to 2 on the same graph. Scripts: Input and Output 13) Write a script (M-file) to read in a message at the command line using the MATLAB input function and then display the message to the Command Window using...
Using MATLAB, duplicate to the two graphs shown in the figure below Requirements 1. Show the MATLAB code used to plot both functions 5cos (nt-ng) (V) 5 e-"X cos (2nft-2nx/A) (V) a. y b- Use the frequency, wavelength and attenuation shown in the figure below when plotting graph (b) 2. 3. 4. Place labels for the x and y axis showing appropriate units Extend the x-axis to 10 cm and use a sampling rate of 0.1 mm Submit the final...
How to graph fourier transform My question isn't on how they got the transform, my question is how the graph was calculated, I don't know what sinc means Note: 1) In the following problem set a notation Pa(t) is used to denote an even pulse (i.e. rectangular) shape function with the duration of a. This means that for example the function x(t) in question number one is 2P2(t-1). It is clear that using the properties of Fourier transform is greatly...
Solve the DE for x(t) given the following DE and volume solution of V(t) then answer the case1 and case 2 questions V(t)=180-100e-0.01t+20e-0.05t Case 1 Let i(t) = e-0.01t and r(t) = e-0.05t Solve for x(t) and plot a graph for x(t) and the function V(t) What is the limiting value of x(t) that is what is x(t) as t goes to infinity. How does the solution vary as a function given the initial conditions of X0=0,...