Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi,
Why without adding that else NaN at the final the plot is showing the waveform, but after that else NaN was added at the final of the function then the plot failed?
Solved! Go to Solution.
Need mutually exclusive if branches or it always retuns NAN's at t<=2a
Need mutually exclusive if branches or it always retuns NAN's at t<=2a
I find it easier to use explicit return statements.