Lorentz
| Directory | DOS Name | Type |
| Signals |
lorentz |
m-function |
Purpose
The Lorentz signal
Calling Sequence
y = Lorentz(x, para)
INPUTS
|
Input |
Description |
|
x
|
Vector of values at which to
calculate the Lorentz signal
|
Optional INPUTS
|
Input |
Description |
Default Value |
|
para
|
[], [c a t] or [c0 a0 t0 c1 a1 t1]
|
[]
|
OUTPUTS
|
Output |
Description |
|
y
|
Vector containing values of
the Lorentz signal calculated at
values in the vector x
|
Description
Lorentz() calculates the value of the Lorentz
signal which is defined as follows
y = 1/(1+x^2) if para =[]
y = c/(1+(x-t/a)^2) if para = [c a t]
y = c0/(1+(x-t0/a0)^2) + c1*(x-t1)/(1+(x-t1/a1)^2)
if para = [c0 a0 t0 c1 a1 t1]
Example
x = linspace(-10,10,100);
y = Lorentz(x);
plot(x,y,'r'); xlabel('x'); ylabel('Lorentz(x)')
|
DigComT Licensee: Chris Heegard
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000
Copyright © 1997-2000, Native Intelligence, All rights reserved.