Phasor/Polar Data Type

Implementation of Phasor/Polar data type and associated functions
2K Downloads
Updated 27 Jun 2006

View License

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.

Cite As

Timothy Felty (2024). Phasor/Polar Data Type (https://www.mathworks.com/matlabcentral/fileexchange/11001-phasor-polar-data-type), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Types in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

A bug was found in the disp routine for matlab 6. This fixes it.