I found a code and was able to modify it into the following code to creaet a spiral that starts at the point I want it to but I can't seem to get it to end where I want it to and have the desired numer of turns.
t = 1:5000;u = .0265;r0 = 10;r = r0 +u*t;omega = .005;phi0 = 3*pi/2;phi = -omega*t+phi0;x = r .* cos(phi);y = r .* sin(phi);plot(x,y)grid on;
Best Answer