Plot failed to show after I added else NaN
Sep 23, 2024
05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2024
05:52 AM
Plot failed to show after I added else NaN
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.
Labels:
- Labels:
-
Mathcad Usage
ACCEPTED SOLUTION
Accepted Solutions
Sep 23, 2024
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2024
06:43 AM
Need mutually exclusive if branches or it always retuns NAN's at t<=2a
2 REPLIES 2
Sep 23, 2024
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2024
06:43 AM
Need mutually exclusive if branches or it always retuns NAN's at t<=2a
Sep 23, 2024
03:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2024
03:52 PM
I find it easier to use explicit return statements.
