Question: how do i code this section in matlab Step 3: Add the Outer Petals for the Flower This next curve is not a Lissajous figure,
Step 3: Add the Outer Petals for the Flower This next curve is not a Lissajous figure, but instead is a form related to the Spirograph. Create a plot of y (vertical) against x as t goes from 0 to 2 in steps of 0.01 Use the fill command instead of plot, and set the color to red. To get the fill command to work properly, use this time interval for this part. 8 3. Add the red petals to the flower time =0:0.01:2pi; Red Petals: x(t)=sin3t+3sin8t,y(t)=cos3t+3cos8t % Calculate x and y here. Then fill in red. fill(x,y, "red") \& red petals
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
