Question: Write a Matlab script that creates a plot with six little circles of diameter 2 whose centers are radius units away from the origin (point
Write a Matlab script that creates a plot with six little circles of diameter 2 whose centers are radius units away from the origin (point [0, 0]) and in the directions 0, 60, 120, 180, 240, and 300 degrees from the X axis like this image. The little circles have colors red, green, blue, yellow, magenta, and cyan respectively. Name your script bubbles.m and plotted with nump points. The script starts with a header (brief description, name of author and date), assignments to variables nump and radius(120 and 3 are good numbers for this) and then the instructions to create the plots and plot them. Use file paraplot.m for inspiration. Make sure the circles look like circles when plotted and not like ellipses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
