Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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.