Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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.
