Phasor/Polar Data Type
In the study of circuits and others it is useful to portray quantities as phasors which are functionally equivalent to a vector in polar format.
This class implements the constructor for that data type as well as the functions to add, subtract, multiply and divide phasors. There is also the necessary methods to extract and insert data.
There is an included text file with a more indepth description of the included methods and their use.
I would appreciate any comments and suggestions as well as code that would improve this data class.
There is code included for Matlab 6 and Matlab 7. The Matlab 7 code is fairly mlint clean, the Matlab 6 code is going to throw up lots of stuff due to the & -> && change.
引用格式
Timothy Felty (2025). Phasor/Polar Data Type (https://www.mathworks.com/matlabcentral/fileexchange/11001-phasor-polar-data-type), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Matlab 6/
Matlab 6/@phasor/
Matlab 7/
Matlab 7/@phasor/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | A bug was found in the disp routine for matlab 6. This fixes it. |