Test your understanding of MATLAB with these short questions. Each question shou
ID: 2079395 • Letter: T
Question
Test your understanding of MATLAB with these short questions. Each question should not require more than a single line of command or explanation "please do it all" 7. The age of one of your friends can be obtained using the formula below that is based on the age of his father. friend Age round (dadAge 9)/2) Using the functions input and disp, create a MATLAB code to ask your friend for the age of his dad which you will save in a variable dadage, Compute the age of your friend store the result in a variable friendage and display the result in a statement of the form Your age is friendAge".
Explanation / Answer
friendAge = round((dadAge -9)/2);
disp(['Your age is : ',int2str(friendAge)]);