Problem 3 This problem involved creating a function called spectral_props that takes the input sample signal and time interval, and returns -6dB bandwidth center frequency and percentage the bandwidth is of the center frequency. My code goes through
A.1 1) MATLAB CODE "spectrum function"
function [V] = spectrum1(f,fc,bw); A = sqrt(log(2)/(pi*bw); V = A*sqrt(pi)*(exp(-(4*pi^2*A^2*(f-fc).^2);
0.5
Ryan Finke em 350 HW 2
"M-file Plot one part"
0.45
fc = 5; %MHz bw = 1; %MHz f = s_space(0,100,512
Ryan Finke M.1 Matlab code is provided below. Refracted angles of 0, 45, 70, and 90 degrees have the following incident angles Refracted 0 45 70 90 Incident (degrees) 0 10.2170 13.6340 14.5277
If the incident angle is 15 degrees the wave will reflec
Problem 4 In this problem use of ultrasonic immersion test is used to find the size of a crack. The signal is the following. a) MATLAB CODE
clc; clear; %A_f=i*pi*f*b^2/c; %V_f=L_f*A_f; load 'ref_signal' t syst; load 'flaw_signal' crack1; figure(1); p
Problem 2 a) Here is the function layer_imp.mat that will produce the specific acoustic impedance Zp in MRayls with input of frequency and thickness of the layer. MATLAB CODE
function [Zp] = layer_imp(f,l) Cep=2700*10^-3; Zep=3.25; Cw=1480*10^-3; Zw=
EM 350 Mid-Term
Ryan Finke 3-14-08
Problem 1 This problem we are examining a RC circuit. a) Plot the magnitude of this transfer function over the frequency of 0 to 10 MHz but only plot 0 to 1 MHz
Transfer function Vs. Frequency 1
MATLAB CODE
0.9