The problem is not Line 10. It is that Line 9 does not have a closing square bracket.
Change Line 9 to:
9- 0 0 0 0 0 0 0 -1 -cosd(45)];
and the error should disappear.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!