Question: i need help please BME 1054L: Introduction to Biomedical Engineering Computing Extra Credit Assignment: Module 5 -User-Defined Functions Instructions: 1. Clearly mention your FIU Panther
BME 1054L: Introduction to Biomedical Engineering Computing Extra Credit Assignment: Module 5 -User-Defined Functions Instructions: 1. Clearly mention your FIU Panther ID in the beginning of your MATLAB code and in the document you intend on submitting. 2. Rename the .m script with your last name and first name along with module number. a. Ex: main.m mirza_asad_5.m 3. Ideally, your submission should be done through Canvas and include: a. The completed and renamed .m script and its associated function files. b. A PDF or Word file with plots and a small write up answering and explaining any questions asked. Questions: Answer each question to the best of your abilities. 1. Create a user-defined MATLAB function for the following: This function has a single input, in radians, and the output is r. Write the function such that can be accepted to be a vector. a. Use the function to calculate and b. Use the polar plot function, polarplot (, to plot for i. Polarplot ( is another plotting function similar to the normal plot ( ). It takes in 2 inputs, the angles you are plotting and their radius. It is assumed that angle and radius are both vectors of equal length. Ex: polarplot(angle,radius) 2. Create a user-defined MATLAB function for the following pair of functions: This function has a single input T, in Fahrenheit, and two outputs, C (Celsius) and K (Kelvin). a. Use the function to convert the following vector of temperatures, [0 3260100 232], to both Celsius and Kelvin. 3. Repeat problem 2 but write the functions as in-line anonymous functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
