Segmented Function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Segmented Function
Is it possible to define a single function (for example a cam) in segments and then show it in one continuous graph? See the attached example. The reason that I would like to do this as a function rather than an array is that I wish to subsequently repeatedly differentiate it to get from displacement to velocity, acceleration and jerk. Thanks, Karl.
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
you're missing two pieces, look for the yellow highlight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Perfect.Many Thanks, Fred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
One additional remark, as you are wondering why you don't see a horizontal line at 1.9375 in Segment 5.
You had defined the range theta for the abscissa as 166.5 .. 167.0
If you don't provide a second value, the default step width is 1 and so next value would be 167.5 and is greater than the end value 167. So your "range" consists of one single value (166.5) only. Therefore the plot is a single point at (165.5 // 1.9375). If you look closely (or set the line width at a higher value) you should be able to see that point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
