Instructions
Open the MATLAB program by clicking the appropriate icon used in your computing and operating system environment. Refer to product guides for the specific version of MATLAB for your computing platform, or ask your system administrator about paths or shortcuts to it.
Use the "Clear" command before running programs or typing commands on the Command screen. Ensure that memory is cleared of values and formats so that computations don't yield confusing or unexpected results.
Write and then run a program that will make use of functions and computations to generate your data. Include formatting notation, such as "format bank," that will limit the number of decimal places to two. Display your output variables in two-decimal format.
Type individual commands in the Command window that will manipulate data and output it in the desired format. Define variables and issue format statements prior to making any computations. You'll need to first instruct the MATLAB program that you want to generate truncated output to the screen. Use "format bank" to indicate that you want results displayed to two decimal places.
Use MATLAB as a calculator to generate output in the desired format. Input data for the computations in the Command window and view the output on the same screen. Use the format command "format bank" to display data that is truncated to two decimal places.