Lorentz poles in complex plane

Generating n peaks in complex using nth version of Lorentz function.


Updated 22 Oct 2014

View License

Function lorentz_poles(n) generates poles ( or peaks) in the complex plane z=x+iy, using the nth version of Lorentz function (1+z^n)^(-1). The poles are located in the perimeter of the unit circle. The function is slightly altered by a multiplication of sin(z) and can be adjusted for simulating any related Physics phenomena.
If the input n is real then the function generates p=floor{n} poles if p is even, or p+1 poles if p is odd.
demo1 : To produce the snapshot.
% figure(1);
% set(figure(1),'Position',[237 117 941 549]);
% for n=1:8
% subplot(2,4,n)
% lorentz_poles(n);
% end

Cite As

Youssef Khmou (2023). Lorentz poles in complex plane (https://www.mathworks.com/matlabcentral/fileexchange/48218-lorentz-poles-in-complex-plane), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes