In MATLAB, you can create a rose using the polarplot
function. Here's an example code to create a rose with 6 petals:
main.m140 chars9 lines
You can adjust the k
value to change the number of petals, and adjust the angle values to change the density of petals.
gistlibby LogSnag