smithchart
A collection of files capable of drawing a standard colored smith chart including labels and scales
Bernhard Schaffer
I found a bug in the function scPOI, which leads to wrong plotting results for negative reactances (using scRay). If you try to display, for example, the point
scRay(0.25-j*0.5), the negative reactance shown in the smithchart will be be zero.
To fix the bug:
In scPOI, replace
v=max(v);
by
[temp,idx]=max(abs(v));
v=v(idx);
to take care of negative numbers.