Professional Documents
Culture Documents
Dauz Exercise 1
Dauz Exercise 1
EXERCISE 1
INSTRUCTIONS:
1. Perform the following tasks.
2. Use MATLAB editor.
3. Submit your code along with the output in PDF file. Follow the prescribed format for
filename.
4. If answers require explanation, write your answer as a text description.
5. Indicate your Name, Course & Schedule, Date of Submission, and Exercise No. at the
beginning of the code.
6. Late submission will have deduction.
Task 2
Create a variable to store the atomic weight of iron (55.85).
Task 4
There are 1.6093 kilometers in a mile. Create a variable to store a number of miles. Convert this
to kilometers, and store in another variable.
Task 5
Create a variable ftemp to store a temperature in degrees Fahrenheit (°F). Convert this to
degrees Celsius (°C) and store the result in a variable ctemp.
Task 6
Task 8
Write a command that will export the variables in your Workspace. Then write a command that
will erase the variables in your Workspace. After that, execute a command that will import the
variables you just exported.