MATH/CMSC 206 - Introduction to Matlab

Announcements Syllabus Tutorial Projects Submitting

Answers to Self-Test

1. Our script would be:

1457*2354
factorial(17)
x=7
x^2-x
2*ans
syms x y
factor(x^4-5*x^2+4)
solve(y^2+2*y-10)
fzero(@(x) x-cos(x),0.5)