risemonotonously

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 4.5, Creation date: 2019-03-22, Last change: 2025-09-14

modified jumps of 2pi into a monotonously rise sequence



See Also: PLangle , PLangle2

Example Illustration

 missing image of risemonotonously(v,m)

Syntax

v=risemonotonously(v,[m])

Input Parameter

v: angle vector
m: offset to jump; default is 2*pi

Output Parameter

v: angle vector with values outside the interval 2*pi




Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, risemonotonously, modifies an angle vector to ensure a monotonous rise by adjusting jumps of 2À. It is part of the SolidGeometry library.

Input Parameters

Output

Algorithm Steps

  1. Retrieve the offset m using getfuncparams, defaulting to 2À if not specified.
  2. Initialize vo as a copy of v and set a factor f to 0.85.
  3. Determine the number of elements n in the vector v.
  4. Iterate over the vector v starting from the second element:
  5. If no output is requested, plot the original and modified vectors using SGfigure and VLplot.
Algorithm explaination created using ChatGPT on 2025-08-19 00:48. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21