Professional Documents
Culture Documents
en el rango indicado.
1) >> x=[-2*pi:1:2*pi]
x = Columns 1 through 10
-6.2832 -5.2832 -4.2832 -3.2832 -2.2832 -1.2832 -0.2832 0.7168 1.7168 2.7168
Columns 11 through 13
>> y=sin(x)+(sin(5.*x./2).^3)
y = Columns 1 through 10
0.0000 0.6271 1.7911 -0.6842 -0.5958 -0.9586 -0.5544 1.5856 0.2284 0.5277
Columns 11 through 13
>> polar(x,y,'^')
>> grid on
x = -6.2832 -5.7832 -5.2832 -4.7832 -4.2832 -3.7832 -3.2832 -2.7832 -2.2832 -1.7832
-1.2832 -0.7832 -0.2832 0.2168 0.7168 1.2168 1.7168 2.2168 2.7168 3.2168
>> y=sin(x./2)
y = Columns 1 through 10
-0.0000 -0.2474 -0.4794 -0.6816 -0.8415 -0.9490 -0.9975 -0.9840 -0.9093 -0.7781
-0.5985 -0.3817 -0.1411 0.1082 0.3508 0.5716 0.7568 0.8950 0.9775 0.9993
>> polar(x,y,'+')
>> grid on
x = -15.7080 -13.2080 -10.7080 -8.2080 -5.7080 -3.2080 -0.7080 1.7920 4.2920 6.7920
>> y=sin(8.*x./5)
y = 0.0000 -0.7568 0.9894 -0.5366 -0.2879 0.9129 -0.9056 0.2709 0.5514 -0.9918
>> polar(x,y,'p')
>> grid on
x = -6.2832 -5.4832 -4.6832 -3.8832 -3.0832 -2.2832 -1.4832 -0.6832 0.1168 0.9168
>> y=1-4.*cos(5.*x)
y = -3.0000 3.6146 1.5820 -2.3754 4.8306 -0.6323 -0.6967 4.8504 -2.3369 1.5119
>> polar(x,y,'*')
>> grid on
-5.1327 -3.1327 -1.1327 0.8673 2.8673 4.8673 6.8673 8.8673 10.8673 12.8673
>> y=x.*sin(x)
y = -0.0000 -21.0345 15.9933 5.3460 -16.9504 8.2325 7.0467 -11.0282 2.6293 5.3566
-4.6859 0.0277 1.0258 0.6613 0.7768 -4.8090 3.7868 4.6915 -10.7779 3.8135
>> polar(x,y,'o')
>> grid on