Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Português

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

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

Ajuda do Scilab >> Processamento de Sinais > spectral_estimation > intdec

intdec

Changes sampling rate of a signal

Calling Sequence

[y]=intdec(x,lom)

Arguments

x

input sampled signal

lom

For a 1D signal this is a scalar which gives the rate change. For a 2D signal this is a 2-Vector of sampling rate changes lom=(col rate change,row rate change)

y

Output sampled signal

Description

Changes the sampling rate of a 1D or 2D signal by the rates in lom

Examples

Fs1 = 10000;
Fs2 = 14000;
t1 = 0:1/Fs1:10;
t2 = 0:1/Fs2:10;
F0 = 500;
u1 = sin(2*%pi*F0*t1);
u2 = sin(2*%pi*F0*t2);
u2b = intdec(u1, Fs2/Fs1)
plot(u2b, u2);
Report an issue
<< czt spectral_estimation mese >>

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:
Wed Apr 01 10:24:18 CEST 2015