RosettaCodeData/Task/Archimedean-spiral/MATLAB/archimedean-spiral.m
2023-07-01 13:44:08 -04:00

5 lines
82 B
Matlab

a = 1;
b = 1;
turns = 2;
theta = 0:0.1:2*turns*pi;
polarplot(theta, a + b*theta);