You are on page 1of 2

>> axis[0,10,0,1]

axis[0,10,0,1]
|
Error: Unbalanced or unexpected parenthesis or bracket.

>> axis([0,10,0,1])
>> axis([-2,2,-2,2])
>> lin
Undefined function or variable 'lin'.

Did you mean:


>> line
>> axis([-2,18,-2,2])
>> axis([-2,08,-2,2])
>> tan
Error using tan
Not enough input arguments.

>> t=0:0.01:2*pi;
>> x=0+3*cos(t);
>> t=0:0.01:2*pi;
>> x=0+2*cos(t);
>> y=0+2*sin(t);
>> plot(x,y)
>> grid
>> axis([-4,10,-4,4])
>> line
>> hold on
>> t=0:01:2*pi

t=

>> x=2*cos(t);
>> y=2*sin(t);
>> plot(x,y)
>> grid
>> axis([-6 8 -8 8])
>> hold on
>> x=-2:0.1:10;
>> m=x./sqrt(15)-8./sqrt(15);
>> n=-x./sqrt(15)+8./sqrt(15);
>> plot(x,m,y,n)
Error using plot
Vectors must be the same lengths.

>> plot(x,m,x,n)

You might also like