Starting from:

$25

EE5003 - Module 3 - Program Design - Functions and Data Utilities  - Solved

M3 Exercise 

Instructions 

1.    Do exercise 3.5 on page 99 of the textbook.  

o    For the first part, submit an m-file named: quad_solve_real_LastName.m.  

o    For the second part (which only requires a tiny adjustment to the program of the first part) submit an m-file named: quad_solve_complex_LastName.m.

2.    Create an m-file that plots the Bessel function of the first kind (one plot for order 1; one plot for order 2; one plot for order 3).  Let z span from -20 to +20 in increments of 0.1.  Make sure to create a title for each plot (enter: “help title” if you’ve forgotten how to do this).  Note: The ‘figure’ command can be used to create a new figure window without losing existing figure windows.  

o    Name the file bessel_plot_LastName.m.

3.    Following the introduction provided by the screencast, create an m-file that loads in the ASCII battery data file and computes an estimate of the battery’s internal resistance by averaging the values obtained from each measurement.  Try to vectorize your code as much as possible.  

More products