Phasor/Polar Data Type

Implementation of Phasor/Polar data type and associated functions

Vous suivez désormais cette soumission

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.

Citation pour cette source

Timothy Felty (2026). Phasor/Polar Data Type (https://fr.mathworks.com/matlabcentral/fileexchange/11001-phasor-polar-data-type), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Data Types dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

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