Question: Using Matlab! 1. This exercise is composed of a mixed bag of short questions, independent from one another. a) Write a function that converts the

Using Matlab!

1. This exercise is composed of a mixed bag of short questions, independent from one another.

Using Matlab! 1. This exercise is composed of a mixed bag of

a) Write a function that converts the temperature from Fahrenheit to Celsius. Reminder: if F is the temperature in Fahrenheit and C in Celsius, we have C = ; (F 32). Run your function on two examples of your choice. 6 1 5 5 2 7 1 5 b) Let M and v = (1111). Calculate the matrix product vM and 6 3 6 7 1 2 4 17 MUT (the symbol T means transpose). c) Write a function that replaces all the 7s by 0 in a matrix of integers. The input matrix can be of any size and the function returns the modified matrix. Run your function on two examples of your choice. d) Enter the code below, exactly as it is: = 1.234; = 0.0000096 ; = x/y; = "A123"; 1 2 3 y res S 4 Using MATLAB's built-in function fprintf, complete this code such that it prints out exactly the following text: When x=1.234 and y=9.6000e-06 the method named A123 gives 128541.67

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!