03-21-2024 03:33 PM
03-23-2024 10:32 AM
By "that" I meant an array can be built into a waveform by defining dt.
03-23-2024 05:39 PM
@ZainAli02 wrote:
yes, that should result in an array
No that takes an array and results in a waveform. Have you solved your problem yet?
06-10-2024 07:28 AM
@altenbach wrote:
@ZainAli02 wrote:
yes, that should result in an array
No that takes an array and results in a waveform. Have you solved your problem yet?
Yes, I had solved my problem. Thank you for all the help, I apologize for my extremely late response.
06-10-2024 08:21 AM
You are numerically generating a sine wave at multiple time points using finite-precision floating-point numbers (and the sine function does not give exact values). In particular, the amplitude values for frequencies other than 0.1 are probably not 0, but some extremely tiny (and hence unreliable) value, making the estimation of the phase more-or-less meaningless.
Bob Schor