Dear Atanu Mandal,
if you got some function or series of data whose plot is the so-called
"cosine wave", you can compute a new function (or a new series of data)
by using the absolute value:
let us assume that you got some function f(x), the function
f_square_wave should be defined as:
def f_square_wave(x):
amplitude=4.08 ## or any other useful value
return amplitude*f(x)/abs(f(x))
Best regards, Georges.
Atanu Mandal a écrit :
Thank you for the reply. The curve I got from the python programming which
is from the equation of fourier series of the formula "amplitude * cos((2*
pi * f * t) + phase)" . Preciously I want the same square wave as u shown
in the attached file.
On Sun, Oct 2, 2016 at 8:29 PM, Georges Khaznadar <georges.khaznadar@xxxxxxx
wrote:
Dear Atanu Mandal,
the "cosine" curves do not look as genuine cos() functions; for example
their pseudo-period is not constant.
Which square wave do you want exactly ? Please have a look at the
attached proposition.
Another question: I assume that both curves have been created with
expEYES... Which is the program used to create such curves?
Best regards, Georges.
Atanu Mandal a écrit :
Respected Everyone,of
I was working on an experiment in physics. On the result I have got two
curves of cosine which i have attached. But I need help in creating the
square wave through which I can partitioned the graph in n sizes respect
the peaks and downs. Waiting for your reply.
--
Thanks and Regards,
Atanu Mandal
Contact : +91 9062866035
--
Thanks and Regards,
Atanu Mandal
Contact : +91 9062866035
vikaspedia.gov.in
follow us on:
https://www.facebook.com/pages/Vikaspedia-Bengali/921462494547508
Attachment:
signature.asc
Description: PGP signature