I have a cosine input and I want it to multiply with a filter which changes the cosine to sine. The following code just plots a cosine signal. I want to multiple x with impulse response of a filter such that the output is a sine signal. Please help me design any such filter via coding.