Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions