Experiment No4
Experiment No4
Experiment No4
3.1 Variable:
num_students = 25
3.2 Format:
3.4 Saving
v The save command is used for saving all the variables in the workspace, as
a file with .mat extension, in the current directory.
v For example, save myfile
v You can reload the file anytime later using the load command.
v load myfile
3.5 Procedure:
1.
format long
x =7+10/3+5^1.2
2.
format short
x =7+10/3+5^1.2
3.
format bank
daily_wage =177.45;
weekly_wage = daily_wage *6
4.
format short e
4.678*4.9
5.
format long e
x = pi
6.
format rat
4.678*4.9
7.
𝑥 = 1+5
3.6 Discussion:
1. What is the Semicolon (;) indicates?
z = 5x2 + y2