How do I find the zero crossings for a function sinx/x against x?
조회 수: 10(최근 30일)
ANKUR KUMAR 2021년 7월 11일
Do you mean to find the x values which cooresponds to the zero in the y values?
I do not think you have zero value in y variables (It is close to zero, but not exactly zero).
This is an example using the round function so that it yields nearest integer value.
x_vals contains the x values which corresponds to zero in y values.