Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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 Scilab >> Dicas de Conversão de Matlab para Scilab > Matlab-Scilab equivalents > H > hankel (Matlab function)

hankel (Matlab function)

Hankel matrix

Matlab/Scilab equivalent

Matlab Scilab
hankel

Particular cases

The main difference between Scilab and Matlab function is that they do not use the same input values to build an Hankel matrix. If in Matlab, you just have to give a column vector (and eventually a row vector), Scilab function requires the size of the Hankel matrix to build and a covariance sequence vector for this matrix. (See syntax below)

Examples

Matlab Scilab
H1 = hankel(C1)
H2 = hankel(C2,R2)
N1 = size(C1,"*");
COV1 = [matrix(C1,1,-1),zeros(1,N1)];
H1 = hank(N1,N1,COV1);
M2 = size(C2,"*");
N2 = size(R2,"*");
COV2 = [matrix(C2,1,-1),matrix(R2(2:$),1,-1)];
H2 = hank(M2,N2,COV2);
<< H H help (Matlab function) >>

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:
Thu May 12 11:45:28 CEST 2011