PLplotdiscretetime

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 5.0, Creation date: 2021-02-07, Last change: 2025-09-15

plots a PL as a digital signal to avoid problem of misinterpretation

Description

educational function for teaching mechatronics.
In contrast to PL plot, this function creates an double sampled function that makes jumps

See Also: PLplotdiscretesample , PLplot , lplots

Example Illustration

 missing image of PLplotdiscretetime(PL,col,wth)

Syntax

h=PLplotdiscretetime(PL,[col,wth])

Input Parameter

PL: Signal [k x()]
col: color similar to
wth: with of line

Output Parameter

h: handle to plot

Examples


SGfigure; PLplotdiscretetime([[0:20]',sin([0:20]/4)'],'b*-.',2); axis normal




Copyright 2021-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

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