Hi I am trying to plot a circle but I alsways get the same error "
Error in circle (line 11) a = r.*cos(v)+j;
Can you see why?
My script:
A = [10 8 2; 10 8 1; -2 9 1; 2 -1 1]B = [50; 60; 26; 2]M = A.' * A;d = A.' * B;x = A\B;j = 2.3102o = 2.8380r = x.'v = 0:pi/100:2*pi;a = r.*cos(v)+j;b = r.*sin(v)+o;plot(a,b)
Best Answer