pkt2ix.sci
来自「小波分解源代码」· SCI 代码 · 共 21 行
SCI
21 行
function [row,ix] = pkt2ix(d,b,k,D,n)
// pkt2ix -- Convert packet table index to linear index
// Usage
// [row,ix] = pkt2ix(d,b,k,D,n)
// Inputs
// d,b,k 1-d packet table index
// D,n shape of packet table
// Outputs
// ix linear position in packet table
// row row in packet table
//
// See Also
// ix2pkt, packet
//
// Copyright Aldo I Maalouf
nc = n/2^d;
row = 1 + b*nc + k;
ix = row + d*n ;
endfunction
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?