Hello everyone,
I would like to sample a half sine, so I made a conditional function which represents the halve sine. It plots perfectly. However when I try to sample it, it does not work the same anymore as the regular sine function, and therefore I cannot get the DFT.
Any Ideas?
Solved! Go to Solution.
Due to the multiplication with the condition, the result in f1 is no longer a vector.
You should vectorize the multiplication, to get a vector as result.
See attached.
Success!
Luc
Due to the multiplication with the condition, the result in f1 is no longer a vector.
You should vectorize the multiplication, to get a vector as result.
See attached.
Success!
Luc
Thank you very much Sir. Feel a bit stupid that I missed this! Will definitely remember this now.