Question: MATLAB Code Homework Activities 1. Write a program to calculate the value of BMI from the equation below. Assign the values of a and b

MATLAB Code
Homework Activities 1. Write a program to calculate the value of BMI from the equation below. Assign the values of "a" and "b" (entered using input command) a2.800 2 BMI b3 + 200+ 3+a+ Output the result using following format: Valor de BMI = Use fprintf command 2. Write a program to enter two numbers (x,y) by the keyboard using the command "input" If "x" is equal to "y" then print "son iguales y el valor es: _. Otherwise (else) find the average and print the result with the following format: "Promedio = _, con x= _,y= (use fprintf command)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
