Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Français

Change language to:
English - 日本語 - 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

Aide de Scilab >> Systèmes de Contrôle - CACSD > Analyse linéaire > Domaine de fréquence > freson

freson

peak frequencies

Syntax

fr = freson(h)

Arguments

h

A siso linear dynamical system, in state space, transfer function or zpk representations.

fr

vector of peak frequencies in Hz

Description

returns the vector frequencies at which the response amplitude of a siso dynamical system is a relative maximum also called resonance frequencies.

Examples

Continuous time system

h = syslin('c',-1+%s,(3+2*%s+%s^2)*(50+0.1*%s+%s^2));
fr = freson(h)
clf
bode(h);
fig=gcf();sca(fig.children(2));
[phi,db] = phasemag(repfreq(h,fr));
plot(fr,db(:),'+r')

Discrete time system

h = syslin('c',-1+%s,(3+2*%s+%s^2)*(50+0.1*%s+%s^2));
hd = dscr(h, 0.05);
fr = freson(hd)
clf
bode(hd);
fig=gcf();sca(fig.children(2));
[phi,db] = phasemag(repfreq(hd,fr));
plot(fr,db(:),'+r');

See also

  • frep2tf — transfer function realization from frequency response
  • zgrid — zgrid plot
  • h_norm — H-infinity norm

History

VersionDescription
6.0

handling discrete systems and zpk representation, peak detection improved.

Report an issue
<< freq Domaine de fréquence gainplot >>

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:33:06 CET 2022