Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Classroom License -- for classroom instructional use only.
- >> x = 9
- x =
- 9
- >> b = sqrt(x)
- b =
- 3
- >> rem(10, 3)
- ans =
- 1
- >> y = [1 6 3 9 4]
- y =
- 1 6 3 9 4
- >> sort(y, 'descend')
- ans =
- 9 6 4 3 1
- >> c = mean(y)
- c =
- 4.6000
- >> d = median(y)
- d =
- 4
- >> e = mode(y)
- e =
- 1
- >> f = std(y)
- f =
- 3.0496
- >> x = cos(pi)
- x =
- -1
- >> y = sin(2 * pi)
- y =
- -2.4493e-16
- >>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement