Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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.
