Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - 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.
However, this page did not exist in the previous stable version.

Ajuda Scilab >> Processamento de Sinais > miscellaneous > jmat

jmat

row or column block permutation

Calling Sequence

[j]=jmat(n,m)

Arguments

n

number of block rows or block columns of the matrix

m

size of the (square) blocks

j

(m*n,m*n) matrix with m*m eyed blocks

Description

This function yields a square matrix j of size (m*n, m*n) that can be used for permuting the n blocks of m consecutive columns of a (m*n, m*n) square matrix W by W*j. For permuting the n blocks of m consecutive rows, use: j'*W

Example

m=grand(4,4,"uin",0,9).*.ones(2,2)
j=jmat(4,2)
m*j   // permutes blocks of columns
j'*m  // permutes blocks of rows
Report an issue
<< bilt miscellaneous sincd >>

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:
Tue Apr 02 17:37:05 CEST 2013