Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Elementary Functions > Log - exp - power > polar

polar

polar form

Syntax

[Ro, Theta] = polar(A)

Arguments

A

a real or complex square matrix.

Ro

a real matrix.

Theta

a real or complex matrix.

Description

[Ro, Theta]=polar(A) returns the polar form of A i.e.A=Ro*expm(%i*Theta) when Ro symmetric >=0 and Theta hermitian >=0.

Examples

A=rand(5,5);
[Ro,Theta]=polar(A);
norm(A-Ro*expm(%i*Theta),1)

B = complex(5,7)
[M, P] = polar(B)
M * exp(%i * P)

See also

  • expm — square matrix exponential
  • svd — singular value decomposition
Report an issue
<< nthroot Log - exp - power power >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:23:23 CET 2022