s1 = mysin(amp, freq ,phase ,dur ,sampfreq); axisx = (1:dur)⇤360/sampfreq; % x axis in degrees plot(axisx ,s1); set(gca,’XTick ’ ,[0:90: axisx(end)]); ffprintf(’Initial Wave:\tAmplitude=%d\n’, amp, freq , phase ,...); %change amplitude phase = input(’\ nEnter Phase:\n\n’); s2 = mysin(amp, freq ,phase ,dur ,sampfreq); hold on;