next up previous contents
Next: Exercise 9 (Plotting) Up: Plotting Previous: Exercise 7 (Plotting)

Exercise 8 (Plotting)

Display of Lissajous-figures: From the vector t=0:0.1:4*pi; create the trigonometric expressions x=sin(0.5*t+1); und y=cos(1.5*t);. The plot x vs. y is called Lissajous-figure. Create different figures by variating the constants 0.5,1,1.5 in the definition.
Partial solution:
>> t=0:0.1:4*pi;
>> x=sin(0.5*t+1);
>> y=cos(1.5*t);
>> plot(x,y)

Helmut Dersch