- Ajuda Scilab
- CACSD
- Plot and display
- Format representations and conversions
- pol2des
- routh_t
- ssprint
- abinv
- arhnk
- arl2
- arma
- arma2p
- arma2ss
- armac
- armax
- armax1
- arsimul
- augment
- balreal
- bilin
- bstap
- cainv
- calfrq
- canon
- ccontrg
- cls2dls
- colinout
- colregul
- cont_mat
- contr
- contrss
- copfac
- csim
- ctr_gram
- damp
- dcf
- ddp
- dhinf
- dhnorm
- dscr
- dsimul
- dt_ility
- dtsi
- equil
- equil1
- feedback
- findABCD
- findAC
- findBD
- findBDK
- findR
- findx0BD
- flts
- fourplan
- freq
- freson
- fspecg
- fstabst
- g_margin
- gamitg
- gcare
- gfare
- gfrancis
- gtild
- h2norm
- h_cl
- h_inf
- h_inf_st
- h_norm
- hankelsv
- hinf
- imrep2ss
- inistate
- invsyslin
- kpure
- krac2
- lcf
- leqr
- lft
- lin
- linf
- linfn
- linmeq
- lqe
- lqg
- lqg2stan
- lqg_ltr
- lqr
- ltitr
- macglov
- minreal
- minss
- mucomp
- narsimul
- nehari
- noisegen
- nyquistfrequencybounds
- obs_gram
- obscont
- observer
- obsv_mat
- obsvss
- p_margin
- parrot
- pfss
- phasemag
- ppol
- prbs_a
- projsl
- reglin
- repfreq
- ric_desc
- ricc
- riccati
- rowinout
- rowregul
- rtitr
- sensi
- sident
- sorder
- specfact
- st_ility
- stabil
- sysfact
- syssize
- time_id
- trzeros
- ui_observer
- unobs
- zeropen
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
phasemag
phase and magnitude computation
Calling Sequence
[phi,db]=phasemag(z [,mod])
Arguments
- z
matrix or row vector of complex numbers.
- mod
character string
- mod='c'
"continuous" representation between -infinity and +360 degrees (default)
- mod='m'
representation between -360 and 0 degrees
- phi
phases (in degree) of
z
.- db
magnitude (in Db)
Description
phasemag
computes the phases and magnitudes of the entries
of a complex matrix. For mod='c'
phasemag
computes phi(:,i+1)
to minimize the distance with
phi(:,i)
, i.e. it tries to obtain a "continuous
representation" of the phase.
To obtain the phase between -%pi and %pi use
phi=atan(imag(z),real(z))
Examples
See Also
Report an issue | ||
<< pfss | CACSD | ppol >> |