A hockey rink looks like a rectangle with curvature. Draw a hockey rink, as in the Figure
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:12| Question number:23.12
All Answers
total answers (1)
Ch12Ex23.m
% Draw a hockey rink
rectangle('Position', [0.5 0.5 4 2], ...
'Curvature', [0.6 0.6])
axis([0 5 0 3])
line([2.5 2.5], [0.5 2.5], 'Color', 'r', ...
'LineWidth', 4)
title('Let''s play hockey!')

need an explanation for this answer? contact us directly to get an explanation for this answer