Plotting help, my graph turns very clunky
1 view (last 30 days)
I'm trying to recreate the image attached of a elliptical spiral staircase but it's not working out too well. Please help!
function z = my_staircase(a,b,h,n)
tv = 0:2*pi*n;
for k1 = 1:length(tv)
t = tv(k1);
The graph I got was for my_staircase(20,10,100,7) :