All,
In trying to plot a discrete signal, I get the following result.
Plotting floor(10*x) / 10 should, theoretically, yield the same plot as
floor(10*x) * 0.1, but the former yields the plot for floor(x). If,
instead of carrying out the division floor(y*x)/y, I do
floor(y*x)*(y**(-1)), the plot is as expected.
It seems that if division is used, the coefficient of x cancels out. If
multiplication with the inverse of the coefficient is used, the plot is
fine. Is this intentional?
Thanks,
Victor Bandur
|