Here is a MATLAB script that uses the input() and disp() functions to prompt the user for the values of a and b and display the equation:
a = input('Enter the value of a in meters: ');
b = input('Enter the value of b in meters: ');
c = sqrt(a^2 + b^2);
disp(['The value of c is ', num2str(c), ' meters.'])
What is the MATLAB script?When you run this script, it will prompt the user to enter the values of a and b, and then display the value of c calculated from the equation c = sqrt(a^2 + b^2).
Therefore, The num2str() function is used to convert the numerical value of c to a string so that it can be displayed as part of a message.
Learn more about MATLAB script from
https://brainly.com/question/14896131
#SPJ1