blob: 7cde1b9f295d3f49e69d7aa571b6779c62053ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
function [y]=meyeraux(x)
// Returns value of Meyer Wavelet Auxiliary function
// Calling Sequence
// [y]=meyeraux(x)
// Parameters
// x: Real or complex valued vector or matrix
// Description
// This function returns values of the auxiliary function used for Meyer wavelet generation.
// Examples
// 1. meyeraux([1 2 3])
// ans= [1 -208 -10287]
// 2. meyeraux([1 2 3;4 5 6])
// ans= [1 -208 -10287 ; -118016 -709375 -2940624 ]
if (argn(2)~=1) then
error ("Wrong number of input arguments.")
else
y = 35.*x.^4-84.*x.^5+70.*x.^6-20.*x.^7;
end
endfunction
|