Question: EE 221 Computing for Engineers Homework #16 Problem #1 (30 points): Let the mathematical function f(x) be defined as: f(x)exp-4x) sin(20x) Write a script in
EE 221 Computing for Engineers Homework #16 Problem #1 (30 points): Let the mathematical function f(x) be defined as: f(x)exp-4x) sin(20x) Write a script in Matlab that finds the brackets (subintervals) where all the zero crossings are occurring and the number of zeros (n), over the interval from [0,1] where the subinterval size is 0.001. Submit the script as a m file.. (Note: Script is a list of commands which is different from functions) Hint: Initialize the following variables within your script then follow a similar code as the one presented in the lecture. Xmin 0 xmax 1; Interval 0.001; n 0; You may plot the function to provide you with a visualization of the zero locations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
