Question: The following parametric equations generate the Lissajous patterns for different values of the frequencies a and b , and varying phase angle c . x=cos(at)
The following parametric equations generate the Lissajous patterns for different values of the frequencies a and b , and varying phase angle c .
x=cos(at) and y=cos( bt+c)
Use the MATLAB subplot command to generate the following set of graphs (arranged in two rows and two columns):
1) a=1 b=1 c=0
2) a=1 b=1 c=pi/4
3) a=1 b=1 c=pi/2
4) a=1 b=2 c=pi/2
Label the axes as: xlabel('x = cos(t)'), ylabel('y = cos(t)'), etc. Sample codes for the plotting are provided below:
>> t = ...; % discretize the time variable
>> a=1; b=1; c=0; % define parameters for part (i)
>> subplot(2,2,1), ...; >> a=1; b=1; c=pi/4; % define parameters for part (ii)
>> subplot(2,2,2), ...;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
