From 4bee11a7fe3cf8ead2e57e5d269d581d51bf72e6 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Fri, 10 Nov 2017 16:47:58 +0530 Subject: Hanning added --- jar/scilab_en_US_help.jar | Bin 309963 -> 309963 bytes macros/hanning.bin | Bin 0 -> 1368 bytes macros/hanning.sci | 15 +++++++++++++++ macros/lib | Bin 5688 -> 5712 bytes macros/names | 1 + 5 files changed, 16 insertions(+) create mode 100644 macros/hanning.bin create mode 100644 macros/hanning.sci diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 52f9dbb..ad0e7e8 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/hanning.bin b/macros/hanning.bin new file mode 100644 index 0000000..fc3aa94 Binary files /dev/null and b/macros/hanning.bin differ diff --git a/macros/hanning.sci b/macros/hanning.sci new file mode 100644 index 0000000..85860c8 --- /dev/null +++ b/macros/hanning.sci @@ -0,0 +1,15 @@ +function y = hanning(m, varargin) + +funcprot(0); +rhs= argn(2); +if(rhs <1 | rhs>2) +error("Wrong number of Input parameters"); +end + +select(rhs) + case 1 then + y= callOctave("hanning", m); + case 2 then + y= callOctave("hanning", m , varargin(1)); +end +endfunction diff --git a/macros/lib b/macros/lib index 483a331..0d1f5d9 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index 79a4781..a546c1b 100644 --- a/macros/names +++ b/macros/names @@ -69,6 +69,7 @@ gmonopuls goertzel grpdelay hann +hanning helperHarmonicDistortionAmplifier hilbert1 hurst -- cgit From 5e5f5ddc2a4980b292279d99710d18e84fc1ce60 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Thu, 23 Nov 2017 14:36:51 +0530 Subject: modified --- help/en_US/master_help.xml | 394 --------------------- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 11007 -> 10417 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1499 -> 1436 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 687 -> 678 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 46489 -> 43853 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 24576 -> 24576 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 4 - help/en_US/scilab_en_US_help/jhelptoc.xml | 4 - jar/scilab_en_US_help.jar | Bin 548536 -> 310146 bytes macros/lib | Bin 6058 -> 6120 bytes macros/names | 7 +- macros/peak2rms.bin | Bin 13896 -> 13896 bytes 13 files changed, 3 insertions(+), 408 deletions(-) diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index ab18d66..ae11d68 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -1,201 +1,6 @@ -<<<<<<< HEAD - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -======= @@ -389,7 +194,6 @@ ->>>>>>> 9f6962b19c4a5fa76f7525a72faabb1b754712ad ]> FOSSEE Signal Processing Toolbox -<<<<<<< HEAD - -FOSSEE Signal Processing Toolbox -&a81320b4221ec0c937db241f3f09761d9; -&a96531f053d1d3aca0c8998446e7ba88a; -&a44e8c63cbbbfce58373a4d528cc59bda; -&a44baa1c529b4c2034108849f08147667; -&a64ecf6e721160dfb163621e4a3a00d0f; -&aff6d91054f11396fab566c3b7097e225; -&a8128572f33478b9c8c764de03cf89fc4; -&a782c9cd4d7dad9d24a672148080e384c; -&a0be563c94e1e42b7735567091463661e; -&a4b0f0cf49b01fcbb7aedef41c40d0e25; -&a8ee66630c6b42252d90d4304e8af282c; -&a1c12c9e7e5cac759289269fdedd8905c; -&a029443469c6628757ecf658204c40f45; -&a73a177320474a25b6b9c42ed2409895a; -&a6f9d33b92c0e5f71e2f83bffbea97f58; -&a62ed1363186685b47656c8a5790efa44; -&a9558e8614d7f439a08d4332c74eb1118; -&a7c579640b7fb009b1613e4a9e6a3acb6; -&aec6a38aa439b8a6c26a7d2ada787095f; -&a3c7785a5dca1c2ff0bcb54385411d26c; -&aa7ee14bf521256b990217ff8fdfd1c4f; -&adbfd2762e8949c7d9277a546b59fee44; -&a92cf35397a3f0f935f69fa0c6b980916; -&a144520c3e437156f61bc5c85aff56360; -&aab22c36671d7c1054db5e4e91ff34ca9; -&a38bcbc23ee3dff9a39209eed62398675; -&a07382031f7c37c171b8f596adb3241ae; -&aa2141aba98a93cb5ebec123c977cb0d4; -&a9aa47349954b7dc555e77d5c07750bc6; -&ad68b63f69616e4938c5df2b8f4a6ea29; -&a832131d9fca85cf0fc67ebaa7860a244; -&ab9c573f1ed86c7c9107542791f010509; -&a3dd640289cc33aa91c9b93ef38ae3588; -&ac80b8635538da5f44037be6c1355e0cd; -&ab46eb5d7f458e4c97c25dc101934e55a; -&a9a3d5508d4be2587fffb07c4fea873a1; -&a9c0646c3d801e6dbf40cb2bfd0f48184; -&ae610966e7222fa2f7bd10ba3020b0397; -&ad910f20157813b38f3dd0037664fab4d; -&a9f1a602ceb9c4f04cdb362869689ad5b; -&a34c0df6ea3acf72e8be0c3aadf06b3f9; -&a6c480dc7966fa1256fccca6a2a607ea5; -&ad43a01be488312784bce7fa20f5fda45; -&a2475a47e5ba8f7128e2b8d07a807d1b7; -&a6a5628da371f54e68e600dc33be952e8; -&abb6a4d7c3064262f17ab739f011c3a4a; -&a448d7adf3da3286f51f6a94bea63663d; -&a3d7d87fbbc65bfd3e6fdf8bc8f48be6e; -&afe92108055741cc536bf66798f641a5e; -&a6da3c55e120d9ad84b38f937a1440569; -&a1cb4e24a853af62bb07857799af1b5a9; -&a2db9d9caff7a7a3eb135b4bc6e9ebe96; -&a983dde98de76617e105fb2a1b1165e9d; -&a1653c1101bb7f7f90ad5c793094c3011; -&a9cd28a49bceabf9d6a5ae48efc168636; -&ac2d9926417a46b72d2c3ce6be1f719c3; -&a77e06b63ac5f175d8106b4e43014b6da; -&a33f0777e49b0d0506ae19c244104c179; -&af7def142da08407766b1ec9a0a940863; -&a1c243694467789e5c3b41db26ea136b8; -&aed386f5f60012f9148f8a7239f8922dd; -&a891fefd8a1c82376c748c0dc0df9d198; -&a377e22d7852a5b8231f663f2e392cec8; -&a1f500f91aba02eeb51c8756038367f06; -&ac9b5a24449247693afe12d4a0a89cb29; -&a74b3b666e222dd6fdc8cfa967a275919; -&a58a65df48c1f5e0fb455ce5ae740b4d2; -&a460a1e1ff357ce3430e9e399628fa02c; -&a62cc46ed8d95b0239e4df0552679ea1d; -&aa188901e0117ab660ea457598988f6c9; -&a44f003ed5aa29cbfd3cefa414436788d; -&a7524abc02ec73e4e52e0aa32f70a48c7; -&a49a9e3c3edb127efa41460df3ae0b246; -&ad0ea8d615c238f00d56a94edffed11d2; -&aa5fea5e37e2362f8cc508f80fb61e1a4; -&a6738f22afa4d9b2fec50f876ed64f1c3; -&aa81b94c5cbb0d9bdbcf323aa37a1c434; -&a6331d2a5505b25f3a0a10372e9498048; -&a234451d6304052dfc82c4ebf1780f111; -&ad008841ad94a185e99ca801b29a57cd1; -&a7b4993c8297a6696cc70e771f9914a77; -&ad9c3b7bc150ac1452720b8ffe09e98b6; -&a529cf543ec9712c89d8d996913ef7ec1; -&a7661f5463a17550a94594b08eb000091; -&a8d87a3061cb6a7f81eb9a5d01ec17708; -&ab7c7ba24125e211f115a6bc397dcc611; -&aedf625d258dae2c80e8d080faa15af97; -&a28cbb1579bb1a8b7ff1f8a7298903a4c; -&a9a5a0bc20aed91cae617c9790d48fe6c; -&a14d1f8898ae6d0cf35d36090fee051dd; -&a1512f2a5e444460c235d54e222ce4daa; -&a458feffd7c5784d2792fd8b1fdfe1f44; -&aa2d218c02d2b53e0c7d66311f36c9411; -&ad25cb64a691e47028cd003be90f1d23f; -&ae3cbac09593d3eaf17f348d2d7645f67; -&a461f16f33c0e5f37627562ea269d7f66; -&ace1d508b89612ef556c7078b667ccb34; -&aefe308bcd9cc7eafb9f3b1ade901b3f0; -&aae06b7642cb3c5492582151280eb9c2a; -&a14172f88fa51c76d8e3cd44b7ff9da3b; -&aa1bdfdcec9d37ca8fde8f1a5eccf335e; -&ae3e1f82c6bb377a1b604310d59879657; -&ac7f0bf1229be88336dd19bec79f8592e; -&a533f1756737a76c7ebbf4582981dc178; -&a37a0158758c25b87b25ccc1aee6a119c; -&ad89e66ee263fe203686f31a3eab8e64d; -&aa5c4ca6eec759599ed43523a388348ad; -&a200605149beb0f3b5d8a88a3d53b2f71; -&ad6130e215a78d84270aafbc379fbb725; -&a29bbe646f6f6d50c069111ae091e7d36; -&a4c3953ad493b988d8a2031523ffb8306; -&a57cdc6361f8d7ec335fee1025821ddbf; -&a73c75ecee2fc8c8806f9453525a315b1; -&a07f88832ddbb2555bc16dad1013ac1ce; -&aaab9e849a0c6df4118262e2b70e5239f; -&a1895630a74dcb37a874ee12f6223bb12; -&ad5c5b14d0f159728636ed4ae71f93c61; -&a0234889afd64e3141d5dc97aae93301f; -&ae7862a7e6a0e7c690bf77d42fb1990fe; -&af650c852b25f278335bc10007d1a19dc; -&a05778f15bdfe8a90f4ddf1a5b638716f; -&aa0361fd95c4451f669fa98bb1f65dc98; -&a023072b316f7e0395c6360455642039f; -&a3bd0d50aa0e0ff26b0b7c5b81bcbc6b3; -&a35739b7b800c14c46e81e85ef462b634; -&aa1b619c50f30a27be49e3b3d538c394b; -&ad0b592048d2a5108ef1573e46915e2b9; -&a209518e7ca8192917e531c32767128f4; -&a45703911489b3f971198165f76d6d8c0; -&a9a588475c9fdfec3b0d524d2f91956a1; -&a6a345bdf977080572f9bb157e316fa56; -&adfc7a13f2757703644a280fda363f5d3; -&a84d04841d921ac252697bd6d913f6e07; -&adb76827a846fe886ed6ce90b95f07d8f; -&a040edc92d4048494ec65abb4c47a6e7c; -&a84e9fc45acaeb7c1afa74420873f7b8b; -&afb654b0f7ed9a4d6af43c3042d878008; -&aedffe76610b2bc050432fea9879d2c82; -&a78b3ed60769c10149c518c3117b14fe5; -&a7ca3d45ac7c8237b3144b3fe631a0c68; -&a7ca94f3b7fef68630e0cb23f4fd3d25b; -&a59e83100e6dffc0baad33cbf8a84522a; -&a336e17feee76e01b014e835286066137; -&aaf4d652584b9190343fb99d3a8801e5f; -&a5edcc4e7812e65d3274082c4e5d7d57f; -&aa8c18c42efbf08189242a6819ddeb9ec; -&af9bc3ae414d07aa5e0b83d8204da216f; -&a58d8825cb2b40fb02d1fb623474b3680; -&afe070e546eba011714d6130f15bf7eeb; -&ade2e0f651396ca918685cd60ad2e1f69; -&af670a413ac46b05b04fb1eeb295cc187; -&a871ae6b17028eb52e68e6bc124576f0c; -&af828ad07b10f88b94815cf6d13dcf2a8; -&a6dfa16868c80a256207c2def9e0f68a6; -&a458311d776cf15b4ead98bf47848744e; -&a0356f690ddd41c1bb4421b15c2e0fdc4; -&a33cd8ef570f585eadb34a40825f2b396; -&a30c4ef20404fdd5a7231680a2c48a975; -&a3b38fcb714749c7e04190fb456a70dd9; -&afb2aecd6bef384074ea28729e7e1fde8; -&a43d84cf894173760ed78bcd0173e5eb1; -&abd98a1a18a270aa31a679ba6e48a6f8c; -&adfe42afbecc43cec13b71504e2ee9f7b; -&ae42ba4458c126de0d0d8449858c32174; -&a45a0dbae444ccba87b80be7d73a9a317; -&a2a3cdd1656da19c8bcccf108c810ed46; -&ae8bb2ea49f71ca2170c7b25396b53c36; -&a754944658572078c603d41eb799c03dc; -&a16514a248c077408c45a820a305e5c12; -&a596bc775e258db66e6a9361e23f6a110; -&ae3ee0ed5769293d96b4e2e86059e914a; -&a3db7534139a84881841b932fa2ec83d6; -&ac4b200defab1e9badb41fc727f69d855; -&ac2ac4b1a32cde37dad46545278811713; -&a0b5130b45748b78cd3b88cedd32115c5; -&adef7e0c625980f5162fab5e605854ed3; -&a34f7952b78461d49fe96810e4c408ffe; -&ab7a062edf13c87523ae9e41490bc9930; -&a8d792ca9bc2521d93c827374ae2c94ce; -&af5b25c45ca00380e898962f27713ee01; -&ac8d05194fb0af9dcd1e5f35e20129757; -&ae616b427e6925e3fc00469ef4532e624; -&a815233915f392f428567c0381e5ac245; -&a8127816d1698afb2025103f44be38859; -&a0a5ed325e4ef3aa7ba8d66ae953d9092; -&a18288f217fcfa5b28647d2b86a3a288e; -&aa10dc0e867636bb5905df2147e7fa8a1; -&a739bb681c1778aebc6a112c9b4ebcc4c; -&a974a3174dedaa833258ab42d577abd9d; -&a7d306b5dfd9ec60077d737d8a4a6b843; -&a383c86e12eaf73e96e722b32e61c3386; -&aecd6b297822f6189d821d9ef476689d8; -&a38385ae55e569d27d4af576de7685f2d; -======= FOSSEE Signal Processing Toolbox &a231328952124a7e187905e71aaf9cee0; @@ -796,6 +403,5 @@ &a07861a28f3bed2170e83949b6e2c3809; &a99676709afd29b9c0701a4ca0e97365e; &a61b6ccda9c51a7fb92674a98fd9f358a; ->>>>>>> 9f6962b19c4a5fa76f7525a72faabb1b754712ad diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 5485e84..5924134 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 90f6c0f..bc4b510 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 1cfd696..57f16b8 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 77ece74..ae59ae0 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index cdbc5eb..677736a 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1968 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=1967 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 775f37b..86faf37 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index dc549a4..f8e4965 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,11 +2,7 @@ -<<<<<<< HEAD - -======= ->>>>>>> 9f6962b19c4a5fa76f7525a72faabb1b754712ad diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index f1e0621..d47d3dc 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -2,11 +2,7 @@ -<<<<<<< HEAD - -======= ->>>>>>> 9f6962b19c4a5fa76f7525a72faabb1b754712ad diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 3fe4b6d..5042597 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/lib b/macros/lib index e8e47ac..c79382e 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index ab09d57..4bd1ddd 100644 --- a/macros/names +++ b/macros/names @@ -84,16 +84,13 @@ helperHarmonicDistortionAmplifier hilbert1 hurst icceps -<<<<<<< HEAD -ifft -ifft2 -======= idct1 idct2 idst1 +ifft +ifft2 ifht ifwht ->>>>>>> 9f6962b19c4a5fa76f7525a72faabb1b754712ad iirlp2mb impinvar impz diff --git a/macros/peak2rms.bin b/macros/peak2rms.bin index 8f6cf06..c005c97 100644 Binary files a/macros/peak2rms.bin and b/macros/peak2rms.bin differ -- cgit From 14ccddd315f0b97a78e965df1587835ac542e35a Mon Sep 17 00:00:00 2001 From: bgtushar Date: Thu, 23 Nov 2017 19:23:33 +0530 Subject: Deleted fht.sci --- fht.sci | 16 ---------------- jar/scilab_en_US_help.jar | Bin 315505 -> 315505 bytes 2 files changed, 16 deletions(-) delete mode 100644 fht.sci diff --git a/fht.sci b/fht.sci deleted file mode 100644 index c6fd1bd..0000000 --- a/fht.sci +++ /dev/null @@ -1,16 +0,0 @@ -function y=fht(d,n,dim) -funcprot(0); -rhs=argn(2); -if(rhs<1 | rhs>3) - error("Wrong number of input arguments.") -end -select(rhs) -case 1 then - y=callOctave("fht",d) -case 2 then - y=callOctave("fht",d,n) -case 3 then - y=callOctave("fht",d,n,dim) -end - -endfunction diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 2b4f2e7..7d6efe4 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ -- cgit From 11f08cc395ea1b0de77af3dbb87a985418fc3800 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Fri, 24 Nov 2017 19:19:30 +0530 Subject: Created xml help files --- help/en_US/ac2rc.xml | 29 +- help/en_US/arburg.xml | 4 + help/en_US/arcov.xml | 24 +- help/en_US/aryule.xml | 2 + help/en_US/besselap.xml | 71 ++ help/en_US/buttap.xml | 67 ++ help/en_US/cceps.xml | 23 + help/en_US/cheb.xml | 65 ++ help/en_US/cheb1ap.xml | 75 ++ help/en_US/cheb2ap.xml | 63 ++ help/en_US/cplxreal.xml | 56 ++ help/en_US/czt.xml | 65 ++ help/en_US/dst1.xml | 47 ++ help/en_US/ellipap.xml | 68 ++ help/en_US/fft.xml | 74 ++ help/en_US/fft2.xml | 68 ++ help/en_US/fht.xml | 23 + help/en_US/freqs.xml | 61 ++ help/en_US/fwht.xml | 69 ++ help/en_US/hanning.xml | 23 + help/en_US/hilbert1.xml | 70 ++ help/en_US/hurst.xml | 47 ++ help/en_US/idct1.xml | 23 + help/en_US/idct2.xml | 23 + help/en_US/idst1.xml | 23 + help/en_US/ifft.xml | 81 ++ help/en_US/ifft2.xml | 68 ++ help/en_US/ifht.xml | 65 ++ help/en_US/ifwht.xml | 23 + help/en_US/invfreq.xml | 69 ++ help/en_US/master_help.xml | 860 +++++++++++---------- help/en_US/ncauer.xml | 71 ++ help/en_US/pei_tseng_notch.xml | 66 ++ help/en_US/rceps.xml | 50 ++ help/en_US/remez1.xml | 58 ++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 19232 -> 12852 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 3094 -> 1714 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 1215 -> 828 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 80007 -> 54786 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 26736 -> 26624 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 45 +- help/en_US/scilab_en_US_help/jhelptoc.xml | 45 +- help/en_US/sigmoid_train.xml | 23 + help/en_US/sinetone.xml | 54 ++ help/en_US/sinewave.xml | 53 ++ help/en_US/spectral_adf.xml | 54 ++ help/en_US/spectral_xdf.xml | 54 ++ help/en_US/spencer.xml | 45 ++ help/en_US/stft.xml | 84 ++ help/en_US/synthesis.xml | 49 ++ help/en_US/wconv.xml | 64 ++ help/en_US/xcov1.xml | 23 + help/en_US/yulewalker.xml | 47 ++ help/en_US/zp2ss.xml | 90 +++ help/en_US/zp2tf.xml | 72 ++ jar/scilab_en_US_help.jar | Bin 552190 -> 380138 bytes macros/czt.bin | Bin 2164 -> 5236 bytes macros/czt.sci | 19 + macros/dst1.bin | Bin 1360 -> 3184 bytes macros/dst1.sci | 11 +- macros/fwht.bin | Bin 1672 -> 6256 bytes macros/fwht.sci | 24 + macros/hilbert1.bin | Bin 1704 -> 5696 bytes macros/hilbert1.sci | 22 + macros/hurst.bin | Bin 1060 -> 2432 bytes macros/hurst.sci | 10 +- macros/ifht.bin | Bin 1628 -> 5396 bytes macros/ifht.sci | 18 + macros/invfreq.bin | Bin 2520 -> 7048 bytes macros/invfreq.sci | 26 +- macros/lib | Bin 6322 -> 6120 bytes macros/rceps.bin | Bin 1576 -> 4772 bytes macros/rceps.sci | 14 +- macros/remez1.bin | Bin 2424 -> 5248 bytes macros/remez1.sci | 15 + macros/sinetone.bin | Bin 2132 -> 4176 bytes macros/sinetone.sci | 14 +- macros/sinewave.bin | Bin 1720 -> 3192 bytes macros/sinewave.sci | 13 +- macros/spectral_adf.bin | Bin 1768 -> 4156 bytes macros/spectral_adf.sci | 15 + macros/spectral_xdf.bin | Bin 1768 -> 4024 bytes macros/spectral_xdf.sci | 15 +- macros/spencer.bin | Bin 1076 -> 1928 bytes macros/spencer.sci | 8 +- macros/stft.bin | Bin 5464 -> 11092 bytes macros/stft.sci | 35 + macros/synthesis.bin | Bin 1256 -> 2972 bytes macros/synthesis.sci | 11 +- macros/yulewalker.bin | Bin 1924 -> 3552 bytes macros/yulewalker.sci | 10 +- 92 files changed, 3255 insertions(+), 403 deletions(-) create mode 100644 help/en_US/besselap.xml create mode 100644 help/en_US/buttap.xml create mode 100644 help/en_US/cceps.xml create mode 100644 help/en_US/cheb.xml create mode 100644 help/en_US/cheb1ap.xml create mode 100644 help/en_US/cheb2ap.xml create mode 100644 help/en_US/cplxreal.xml create mode 100644 help/en_US/czt.xml create mode 100644 help/en_US/dst1.xml create mode 100644 help/en_US/ellipap.xml create mode 100644 help/en_US/fft.xml create mode 100644 help/en_US/fft2.xml create mode 100644 help/en_US/fht.xml create mode 100644 help/en_US/freqs.xml create mode 100644 help/en_US/fwht.xml create mode 100644 help/en_US/hanning.xml create mode 100644 help/en_US/hilbert1.xml create mode 100644 help/en_US/hurst.xml create mode 100644 help/en_US/idct1.xml create mode 100644 help/en_US/idct2.xml create mode 100644 help/en_US/idst1.xml create mode 100644 help/en_US/ifft.xml create mode 100644 help/en_US/ifft2.xml create mode 100644 help/en_US/ifht.xml create mode 100644 help/en_US/ifwht.xml create mode 100644 help/en_US/invfreq.xml create mode 100644 help/en_US/ncauer.xml create mode 100644 help/en_US/pei_tseng_notch.xml create mode 100644 help/en_US/rceps.xml create mode 100644 help/en_US/remez1.xml create mode 100644 help/en_US/sigmoid_train.xml create mode 100644 help/en_US/sinetone.xml create mode 100644 help/en_US/sinewave.xml create mode 100644 help/en_US/spectral_adf.xml create mode 100644 help/en_US/spectral_xdf.xml create mode 100644 help/en_US/spencer.xml create mode 100644 help/en_US/stft.xml create mode 100644 help/en_US/synthesis.xml create mode 100644 help/en_US/wconv.xml create mode 100644 help/en_US/xcov1.xml create mode 100644 help/en_US/yulewalker.xml create mode 100644 help/en_US/zp2ss.xml create mode 100644 help/en_US/zp2tf.xml diff --git a/help/en_US/ac2rc.xml b/help/en_US/ac2rc.xml index 2e8a109..a84b240 100644 --- a/help/en_US/ac2rc.xml +++ b/help/en_US/ac2rc.xml @@ -17,7 +17,7 @@ ac2rc - + Convert autocorrelation sequence to reflection coefficients. @@ -26,6 +26,33 @@ k = ac2rc(R) [k,R0] = ac2rc(R) + + + + Parameters + + R: + The input autocorrelation sequence. If r is a matrix, each column of r is treated as a separate signal. + k: + Returns the reflection coefficients + R0: + the zero lag autocorrelation, R0, based on the autocorrelation sequence, R. + + + + + Examples + + diff --git a/help/en_US/arburg.xml b/help/en_US/arburg.xml index 75648ba..6aa017e 100644 --- a/help/en_US/arburg.xml +++ b/help/en_US/arburg.xml @@ -49,7 +49,11 @@ Description This is an Octave function. + + This function calculates coefficients of an autoregressive (AR) model of complex data x using the whitening lattice-filter method of Burg. + + The first argument is the data sampled. The second argument is the number of poles in the model (or limit in case a criterion is supplied). The third parameter takes in the criterion to limit the number of poles. The acceptable values are "AIC", "AKICc", "KIC", "AICc" which are based on information theory. Output variable a is a list of P+1 autoregression coefficients. diff --git a/help/en_US/arcov.xml b/help/en_US/arcov.xml index 64a5364..11f1d94 100644 --- a/help/en_US/arcov.xml +++ b/help/en_US/arcov.xml @@ -17,7 +17,29 @@ arcov - + Autoregressive all-pole model parameters — covariance method + + + Calling Sequence + + a = arcov(x,p) + [a,e] = arcov(x,p) + + + + + Parameters + + a: + contains normalized estimates of the AR system parameters, A(z), in descending powers of z. + e: + variance estimate of the white noise input to the AR model + x: + is the input signal + p: + is the order of the auto regressive model + + diff --git a/help/en_US/aryule.xml b/help/en_US/aryule.xml index 9948a0f..7d706fd 100644 --- a/help/en_US/aryule.xml +++ b/help/en_US/aryule.xml @@ -46,6 +46,8 @@ Description This is an Octave function. + + This function fits an AR (p)-model with Yule-Walker estimates. The first argument is the data vector which is to be estimated. Output variable a gives the AR coefficients, v gives the variance of the white noise and k gives the reflection coefficients to be used in the lattice filter. diff --git a/help/en_US/besselap.xml b/help/en_US/besselap.xml new file mode 100644 index 0000000..f3236d7 --- /dev/null +++ b/help/en_US/besselap.xml @@ -0,0 +1,71 @@ + + + + + + + + besselap + Return bessel analog filter prototype. + + + + + Calling Sequence + + [zero, pole, gain] = besselap (n) + [zero, pole] = besselap (n) + zero = besselap (n) + + + + + Parameters + + n: + Filter Order + zero: + Zeros + pole: + Poles + gain: + Gain + + + + + Description + +This is an Octave function. +It Return bessel analog filter prototype of nth order. + + + + + Examples + + + diff --git a/help/en_US/buttap.xml b/help/en_US/buttap.xml new file mode 100644 index 0000000..d891af5 --- /dev/null +++ b/help/en_US/buttap.xml @@ -0,0 +1,67 @@ + + + + + + + + buttap + Design a lowpass analog Butterworth filter. + + + + + Calling Sequence + + z = buttap (n) + [z, p] = buttap (n) + [z, p, g] = buttap (n) + + + + + Parameters + + n: + Filter Order + z: + Zeros + p: + Poles + g: + Gain + + + + + Description + +This is an Octave function. +It designs a lowpass analog Butterworth filter of nth order. + + + + + Examples + + + diff --git a/help/en_US/cceps.xml b/help/en_US/cceps.xml new file mode 100644 index 0000000..8f270f6 --- /dev/null +++ b/help/en_US/cceps.xml @@ -0,0 +1,23 @@ + + + + + + + + cceps + + + + diff --git a/help/en_US/cheb.xml b/help/en_US/cheb.xml new file mode 100644 index 0000000..7e39e30 --- /dev/null +++ b/help/en_US/cheb.xml @@ -0,0 +1,65 @@ + + + + + + + + cheb + Calculates the nth-order Chebyshev polynomial at the point x. + + + + + Calling Sequence + + cheb(n, x) + + + + + Parameters + + n: + Filter order + x: + Point at which the Chebyshev polynomial is calculater. + + + + + Description + +This is an Octave function. +Equation for Chebyshev polynomial is +/ cos(n acos(x), |x| <= 1 +Tn(x) = | +\ cosh(n acosh(x), |x| > 1 + + +x can also be a vector. In that case the output will also be a vector of same size as x. + + + + + Examples + + + diff --git a/help/en_US/cheb1ap.xml b/help/en_US/cheb1ap.xml new file mode 100644 index 0000000..dbd541a --- /dev/null +++ b/help/en_US/cheb1ap.xml @@ -0,0 +1,75 @@ + + + + + + + + cheb1ap + This function designs a lowpass analog Chebyshev type I filter. + + + + + Calling Sequence + + [z, p, g] = cheb1ap (n, Rp) + [z, p] = cheb1ap (n, Rp) + p = cheb1ap (n, Rp) + + + + + Parameters + + n: + Filter Order + Rp: + Peak-to-peak passband ripple + z: + Zeros + p: + Poles + g: + Gain + + + + + Description + +This is an Octave function. +It designs a lowpass analog Chebyshev type I filter of nth order and with a Peak-to-peak passband ripple of Rp. + + + + + Examples + + + diff --git a/help/en_US/cheb2ap.xml b/help/en_US/cheb2ap.xml new file mode 100644 index 0000000..0fcdd8f --- /dev/null +++ b/help/en_US/cheb2ap.xml @@ -0,0 +1,63 @@ + + + + + + + + cheb2ap + This function designs a lowpass analog Chebyshev type II filter. + + + + + Calling Sequence + + [z, p, g] = cheb2ap (n, Rs) + [z, p] = cheb2ap (n, Rs) + p = cheb2ap (n, Rs) + + + + + Parameters + + n: + Filter Order + Rs: + Stopband attenuation + z: + Zeros + p: + Poles + g: + Gain + + + + + Description + +This is an Octave function. +This function designs a lowpass analog Chebyshev type II filter of nth order and with a stopband attenuation of Rs. + + + + + Examples + + + diff --git a/help/en_US/cplxreal.xml b/help/en_US/cplxreal.xml new file mode 100644 index 0000000..f5e5ed5 --- /dev/null +++ b/help/en_US/cplxreal.xml @@ -0,0 +1,56 @@ + + + + + + + + cplxreal + Function to divide vector z into complex and real elements, removing the one of each complex conjugate pair. + + + + + Calling Sequence + + [zc, zr] = cplxreal (z, thresh) + [zc, zr] = cplxreal (z) + zc = cplxreal (z, thresh) + zc = cplxreal (z) + + + + + Parameters + + z: + vector of complex numbers. + thresh: + tolerance for comparisons. + zc: + vector containing the elements of z that have positive imaginary parts. + zr: + vector containing the elements of z that are real. + + + + + Description + +This is an Octave function. +Every complex element of z is expected to have a complex-conjugate elsewhere in z. From the pair of complex-conjugates, the one with the negative imaginary part is removed. +If the magnitude of the imaginary part of an element is less than the thresh, it is declared as real. + + + diff --git a/help/en_US/czt.xml b/help/en_US/czt.xml new file mode 100644 index 0000000..1296d19 --- /dev/null +++ b/help/en_US/czt.xml @@ -0,0 +1,65 @@ + + + + + + + + czt + Chirp Z Transform + + + + + Calling Sequence + + czt (x) + czt (x, m) + czt (x, m, w) + czt (x, m, w, a) + + + + + Parameters + + x: + Input scalar or vector + m: + Total Number of steps + w: + ratio between points in each step + a: + point in the complex plane + + + + + Description + +This is an Octave function. +Chirp z-transform. Compute the frequency response starting at a and stepping by w for m steps. a is a point in the complex plane, and w is the ratio between points in each step (i.e., radius increases exponentially, and angle increases linearly). + + + + + Examples + + + diff --git a/help/en_US/dst1.xml b/help/en_US/dst1.xml new file mode 100644 index 0000000..62fa699 --- /dev/null +++ b/help/en_US/dst1.xml @@ -0,0 +1,47 @@ + + + + + + + + dst1 + Computes the type I discrete sine transform of x + + + + + Calling Sequence + + y= dst1(x) + y= dst1(x,n) + + + + + Parameters + + x: + real or complex valued vector + + + + + Description + +This is an Octave function. +Computes the type I discrete sine transform of x. If n is given, then x is padded or trimmed to length n before computing the transform. If x is a matrix, compute the transform along the columns of the the matrix. + + + diff --git a/help/en_US/ellipap.xml b/help/en_US/ellipap.xml new file mode 100644 index 0000000..597a4c1 --- /dev/null +++ b/help/en_US/ellipap.xml @@ -0,0 +1,68 @@ + + + + + + + + ellipap + Designs a lowpass analog elliptic filter. + + + + + Calling Sequence + + [z, p, g] = ellipap (n, Rp, Rs) + [z, p] = ellipap (n, Rp, Rs) + z = ellipap (n, Rp, Rs) + + + + + Parameters + + n: + Filter Order + Rp: + Peak-to-peak passband ripple + Rs: + Stopband attenuation + + + + + Description + +This is an Octave function. +It designs a lowpass analog elliptic filter of nth order, with a Peak-to-peak passband ripple of Rp and a stopband attenuation of Rs. + + + + + Examples + + + diff --git a/help/en_US/fft.xml b/help/en_US/fft.xml new file mode 100644 index 0000000..12922ed --- /dev/null +++ b/help/en_US/fft.xml @@ -0,0 +1,74 @@ + + + + + + + + fft + Calculates the discrete Fourier transform of a matrix using Fast Fourier Transform algorithm. + + + + + Calling Sequence + + fft (x, n, dim) + fft (x, n) + fft (x) + + + + + Parameters + + x: + input matrix + n: + Specifies the number of elements of x to be used + dim: + Specifies the dimention of the matrix along which the FFT is performed + + + + + Description + +This is an Octave function. +The FFT is calculated along the first non-singleton dimension of the array. Thus, FFT is computed for each column of x. + + +n is an integer specifying the number of elements of x to use. If n is larger than dimention along. which the FFT is calculated, then x is resized and padded with zeros. +Similarly, if n is smaller, then x is truncated. + + +dim is an integer specifying the dimension of the matrix along which the FFT is performed. + + + + + Examples + + + diff --git a/help/en_US/fft2.xml b/help/en_US/fft2.xml new file mode 100644 index 0000000..d35fc4a --- /dev/null +++ b/help/en_US/fft2.xml @@ -0,0 +1,68 @@ + + + + + + + + fft2 + Calculates the two-dimensional discrete Fourier transform of A using a Fast Fourier Transform algorithm. + + + + + Calling Sequence + + fft2 (A, m, n) + fft2 (A) + + + + + Parameters + + A: + input matrix + m: + number of rows of A to be used + n: + number of columns of A to be used + + + + + Description + +This is an Octave function. +It performs two-dimentional FFT on the matrix A. m and n may be used specify the number of rows and columns of A to use. If either of these is larger than the size of A, A is resized and padded with zeros. +If A is a multi-dimensional matrix, each two-dimensional sub-matrix of A is treated separately. + + + + + Examples + + + diff --git a/help/en_US/fht.xml b/help/en_US/fht.xml new file mode 100644 index 0000000..06311a3 --- /dev/null +++ b/help/en_US/fht.xml @@ -0,0 +1,23 @@ + + + + + + + + fht + funcprot(0); + + + diff --git a/help/en_US/freqs.xml b/help/en_US/freqs.xml new file mode 100644 index 0000000..258f280 --- /dev/null +++ b/help/en_US/freqs.xml @@ -0,0 +1,61 @@ + + + + + + + + freqs + Compute the s-plane frequency response of the IIR filter. + + + + + Calling Sequence + + h = freqs (b, a, w) + + + + + Parameters + + b: + vector containing the coefficients of the numerator of the filter. + a: + vector containing the coefficients of the denominator of the filter. + w: + vector containing frequencies + + + + + Description + +This is an Octave function. +It computes the s-plane frequency response of the IIR filter B(s)/A(s) as H = polyval(B,j*W)./polyval(A,j*W). +If called with no output argument, a plot of magnitude and phase are displayed. + + + + + Examples + + + diff --git a/help/en_US/fwht.xml b/help/en_US/fwht.xml new file mode 100644 index 0000000..4140453 --- /dev/null +++ b/help/en_US/fwht.xml @@ -0,0 +1,69 @@ + + + + + + + + fwht + Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm + + + + + Calling Sequence + + fwht (x) + fwht (x, n) + fwht (x, n, order) + + + + + Parameters + + x: + real or complex valued scalar or vector + n: + x is truncated or extended to have length n + order: + Specification of order in which coefficients should be arranged + + + + + Description + +Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm. If the input is a matrix, the FWHT is calculated along the columns of x. + + +The number of elements of x must be a power of 2; if not, the input will be extended and filled with zeros. If a second argument is given, the input is truncated or extended to have length n. + + +The third argument specifies the order in which the returned Walsh-Hadamard transform coefficients should be arranged. The order may be any of the following strings: + + +"sequency" +The coefficients are returned in sequency order. This is the default if order is not given. + + +"hadamard" +The coefficients are returned in Hadamard order. + + +"dyadic" +The coefficients are returned in Gray code order. + + + diff --git a/help/en_US/hanning.xml b/help/en_US/hanning.xml new file mode 100644 index 0000000..dc1e475 --- /dev/null +++ b/help/en_US/hanning.xml @@ -0,0 +1,23 @@ + + + + + + + + hanning + + + + diff --git a/help/en_US/hilbert1.xml b/help/en_US/hilbert1.xml new file mode 100644 index 0000000..3d4ab42 --- /dev/null +++ b/help/en_US/hilbert1.xml @@ -0,0 +1,70 @@ + + + + + + + + hilbert1 + Analytic extension of real valued signal. + + + + + Calling Sequence + + h= hilbert1(f) + h= hilbert1(f,N) + h= hilbert1(f,N,dim) + + + + + Parameters + + f: + real or complex valued scalar or vector + N: + The result will have length N + dim : + It analyses the input in this dimension + + + + + Description + +h = hilbert (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. + + +real (h) contains the original signal f. imag (h) contains the Hilbert transform of f. + + +hilbert1 (f, N) does the same using a length N Hilbert transform. The result will also have length N. + + +hilbert1 (f, [], dim) or hilbert1 (f, N, dim) does the same along dimension dim. + + + + + Examples + + + diff --git a/help/en_US/hurst.xml b/help/en_US/hurst.xml new file mode 100644 index 0000000..c6c5f3e --- /dev/null +++ b/help/en_US/hurst.xml @@ -0,0 +1,47 @@ + + + + + + + + hurst + Estimate the Hurst parameter of sample X via the rescaled r statistic. + + + + + Calling Sequence + + hurst(X) + variable=hurst(X) + + + + + Parameters + + X: + X is a matrix, the parameter of sample X via the rescaled r statistic + + + + + Description + +This is an Octave function. +This function estimates the Hurst parameter of sample X via the rescaled rstatistic. + + + diff --git a/help/en_US/idct1.xml b/help/en_US/idct1.xml new file mode 100644 index 0000000..c43eb1c --- /dev/null +++ b/help/en_US/idct1.xml @@ -0,0 +1,23 @@ + + + + + + + + idct1 + funcprot(0); + + + diff --git a/help/en_US/idct2.xml b/help/en_US/idct2.xml new file mode 100644 index 0000000..0e7fcdc --- /dev/null +++ b/help/en_US/idct2.xml @@ -0,0 +1,23 @@ + + + + + + + + idct2 + funcprot(0); + + + diff --git a/help/en_US/idst1.xml b/help/en_US/idst1.xml new file mode 100644 index 0000000..74a9f0e --- /dev/null +++ b/help/en_US/idst1.xml @@ -0,0 +1,23 @@ + + + + + + + + idst1 + funcprot(0); + + + diff --git a/help/en_US/ifft.xml b/help/en_US/ifft.xml new file mode 100644 index 0000000..5e09726 --- /dev/null +++ b/help/en_US/ifft.xml @@ -0,0 +1,81 @@ + + + + + + + + ifft + Calculates the inverse discrete Fourier transform of a matrix using Fast Fourier Transform algorithm. + + + + + Calling Sequence + + ifft (x, n, dim) + ifft (x, n) + ifft (x) + + + + + Parameters + + x: + input matrix + n: + Specifies the number of elements of x to be used + dim: + Specifies the dimention of the matrix along which the inverse FFT is performed + + + + + Description + +This is an Octave function. + + + + + Description + +This is an Octave function. +The inverse FFT is calculated along the first non-singleton dimension of the array. Thus, inverse FFT is computed for each column of x. + + +n is an integer specifying the number of elements of x to use. If n is larger than dimention along. which the inverse FFT is calculated, then x is resized and padded with zeros. +Similarly, if n is smaller, then x is truncated. + + +dim is an integer specifying the dimension of the matrix along which the inverse FFT is performed. + + + + + Examples + + + diff --git a/help/en_US/ifft2.xml b/help/en_US/ifft2.xml new file mode 100644 index 0000000..02eb5f9 --- /dev/null +++ b/help/en_US/ifft2.xml @@ -0,0 +1,68 @@ + + + + + + + + ifft2 + Calculates the inverse two-dimensional discrete Fourier transform of A using a Fast Fourier Transform algorithm. + + + + + Calling Sequence + + ifft2 (A, m, n) + ifft2 (A) + + + + + Parameters + + A: + input matrix + m: + number of rows of A to be used + n: + number of columns of A to be used + + + + + Description + +This is an Octave function. +It performs inverse two-dimensional FFT on the matrix A. m and n may be used specify the number of rows and columns of A to use. If either of these is larger than the size of A, A is resized and padded with zeros. +If A is a multi-dimensional matrix, each two-dimensional sub-matrix of A is treated separately. + + + + + Examples + + + diff --git a/help/en_US/ifht.xml b/help/en_US/ifht.xml new file mode 100644 index 0000000..e4e692b --- /dev/null +++ b/help/en_US/ifht.xml @@ -0,0 +1,65 @@ + + + + + + + + ifht + Calculate the inverse Fast Hartley Transform of real input D + + + + + Calling Sequence + + m= ifht (d) + m= ifht (d,n) + m= ifht (d,n,dim) + + + + + Parameters + + d: + real or complex valued scalar or vector + n: + Similar to the options of FFT function + dim: + Similar to the options of FFT function + + + + + Description + +Calculate the inverse Fast Hartley Transform of real input d. If d is a matrix, the inverse Hartley transform is calculated along the columns by default. The options n and dim are similar to the options of FFT function. + + +The forward and inverse Hartley transforms are the same (except for a scale factor of 1/N for the inverse hartley transform), but implemented using different functions. + + +The definition of the forward hartley transform for vector d, m[K] = 1/N \sum_{i=0}^{N-1} d[i]*(cos[K*2*pi*i/N] + sin[K*2*pi*i/N]), for 0 <= K < N. m[K] = 1/N \sum_{i=0}^{N-1} d[i]*CAS[K*i], for 0 <= K < N. + + + + + Examples + + + diff --git a/help/en_US/ifwht.xml b/help/en_US/ifwht.xml new file mode 100644 index 0000000..37903a0 --- /dev/null +++ b/help/en_US/ifwht.xml @@ -0,0 +1,23 @@ + + + + + + + + ifwht + + + + diff --git a/help/en_US/invfreq.xml b/help/en_US/invfreq.xml new file mode 100644 index 0000000..38f2da3 --- /dev/null +++ b/help/en_US/invfreq.xml @@ -0,0 +1,69 @@ + + + + + + + + invfreq + Calculates inverse frequency vectors + + + + + Calling Sequence + + [B,A] = invfreq(H,F,nB,nA) + [B,A] = invfreq(H,F,nB,nA,W) + [B,A] = invfreq(H,F,nB,nA,W,[],[],plane) + [B,A] = invfreq(H,F,nB,nA,W,iter,tol,plane) + + + + + + Parameters + + H: + desired complex frequency response,It is assumed that A and B are real polynomials, hence H is one-sided. + F: + vector of frequency samples in radians + nA: + order of denominator polynomial A + nB: + order of numerator polynomial B + + + + + Description + +Fit filter B(z)/A(z) or B(s)/A(s) to complex frequency response at frequency points F. A and B are real polynomial coefficients of order nA and nB respectively. Optionally, the fit-errors can be weighted vs frequency according to the weights W. Also, the transform plane can be specified as either 's' for continuous time or 'z' for discrete time. 'z' is chosen by default. Eventually, Steiglitz-McBride iterations will be specified by iter and tol. + + + + + + + Examples + + + diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 613d48a..084c015 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -1,199 +1,242 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> FOSSEE Signal Processing Toolbox - + FOSSEE Signal Processing Toolbox -&abc34d904268ea0d68878f95dd4dc2b31; -&afada58a5f5efa94bcba150f3d7ef37ec; -&af43cf87eec8e014a9baf4bdd9f091652; -&aeb72ef6afa5caac6c0198bf06e8d8d39; -&aaa1106b0c11e3c85c5fd3b254546d61d; -&ae9004011d22c5c9b12dc2e54d6812b21; -&a4caa34fab913bd6c4272de961a55bca2; -&a25e614283dd3e99e0fb093d1db465868; -&a0c94bc97d460f725b92f352b99c87e60; -&aa116b32936e2bbc43a1851815477dc50; -&a717bcfb5b33c5617b6df4a88a35825db; -&a2e363437a83944ea4bbda8ba05793277; -&ab875fac05c1cb152e9967692ffbdd97d; -&ac5b61ab1229ad20d8229654f2a877f9e; -&a67d33687ff3441293c015e9f53640d4b; -&aa33653ce5f6a767a34177a92dad8831d; -&ac9bfbd0f547b9f7951782fffc297ce8f; -&a92ca529f2e4c50ecbb42fe6ac66b4ad7; -&aac95818ba66b9133270a9b65f48f4512; -&acc531aceceaba9ba5f63feb980982703; -&a9763f77681100b2386601412d6c68a45; -&a2e5fe5c92463618e3ac3eb6184a6514c; -&a3d1f4797b814d4d10c4b1cd0a2316e6e; -&a68acc0f447018aa08e92e1d6480e95fb; -&ae603f65da6a3448e705b61733191f7e1; -&a489b609c7baa2574b60744c9a166b350; -&a87213ae4b598affb9e51c3ff77957951; -&a89b1c9d29d8ea8a842fbbbff731a4ccf; -&aeec63d2941febda586e272ca0d7e09e9; -&ae2ea4b53ce51be512488c507ba5c1a97; -&a2a8b19d4177c255e54f833c3e9c12de4; -&af5072b843b624620f72a1118678bb51c; -&a219b5a6958a48155175d7f125e0225b6; -&a4892c6c6a094e865579eaa9fa0a1e315; -&a20ba3985f003711dfcd6ae4a8aed4da3; -&a498a173a5431d9ca778f08732ad009a3; -&aa34b60fddd5a0bc48a0e0bdb88c05f5e; -&af72c46e1f46388131554d782c87bdca6; -&a56ca039cf45f00657429ca5b3ffdba4d; -&aad227216b9d9295f4e5f8bd814752253; -&a81fd5d7c924a096b87772397a39e4120; -&ac98a73fed750316df035079d993cb1bb; -&a5cfe9eeac1c4924f6a0caf3e1840568d; -&ad14407366297f5e3bf8f6ffdcca387f7; -&a51500db596c6a52603289ec898acc619; -&aeaa1b542fe025ff3036e68a9da64527d; -&ac3468da1f742c3072a382a126c9cfd90; -&acf22d1bd8ee068dd275bed4ba7de0bb0; -&aaf23de4d23842978c02d8fc01d0f8d89; -&a1bb421658889ced3f6956d6d223af831; -&a041cc2a85cc205a5280ff2cae0565aad; -&ab9bfb86cd1cf6ba152f3c449acb53388; -&ac5190b237eb80bce61bbb4731ebceaee; -&a54eab5301da6f8ad94a0fc666a534f62; -&aa76196c36e5195482e23ee95909d6a4c; -&a02e375d7ce5589ce592ef3e186e8c6a5; -&ab4ef5778ac13a477d0131b5d8dade1e4; -&a76e1e372415f1013b0f4fd861c56f2ea; -&ad08ce8e4fb40cfb3416c522ca5738730; -&ac2cf40da1bec1c1f630828ed99d9fa7c; -&a235f867faca505720e2e2fc0dc7523ee; -&a5acb91e6d8e981bd43ac949272ce5fc1; -&a0c437c94f4c9554d2eadc1299bc201c6; -&a34b064123c25ed2a3df8772bc9148fa4; -&a27489d7d314a41da10ff2ea221dc99bd; -&a4a70061acbb347c0c6dbc7efc58a825b; -&a050f686ed9bf3b9bbaeafa85839f88ea; -&a6907d352bc8acb64f7672236214e003a; -&ab7d38187b4f79ff0529d4c4c08b1d633; -&a600b90a016f69bf4507022af617c8112; -&a130a6a07303e6d40c88cc13f0df4f677; -&a47f33d823a99a5b6ba0700bd44f2eedb; -&ad090a8d9058532d5b76d3c76f0927647; -&ac086f90347e9bff367792faa5b55509c; -&a80d3837625985b4ea64c9fb8d21a2154; -&a00aa26c59c877bc3fe918913a5da59df; -&a7b1fc3f4b6f003df1d6b163f86ac2cc3; -&ae4939978b945c2ba1d557b03cae30f84; -&a290d00bd7c190f11aaa874430258d909; -&ac1eea02afda4611561e359db55539ef3; -&a5471ee2b25863bf6a2f32aa99bf0b1c8; -&a56bbf2b805d1f7e17247cef64ba19333; -&a37b6cebea1cde28601d71ea61001135f; -&ab1ff3a3177d5412fce2d774a0cbb8c04; -&ad4faf7dd15d7fd892712492de869c180; -&a4a3dadddb6771053aa2c974bfa0c7b4a; -&acdd93d2eb52543e9e5e06a19b2be5300; -&a3322b2e8d12982e95f7abd7c07be5d83; -&a405effc0095937f90e8796ab83a45b38; -&ae537f60631062b3ad18ef244696dd073; -&ab70a5bb921a249a9b2de0cc6b84dfcac; -&a5eb03112f6aff7cf39f302d26b66f51d; -&a9c1d71942abd1f1624fcfb3e40024f17; -&ae4765bc27b678fde77e1a1e12d0312e1; -&acd281019889eb8f2a87aa9bbfdfff93e; -&a24442538c82a64f05197b0685b94062e; -&adebab30e287f1744d68510915dd3dca3; -&af192b03d06b90eb3dfd41194c886a010; -&a8b754f3c797b791b0773a17091b92d47; -&a4409d7ece46667d2c6c236a19699a2db; -&aae7674d788c35e75f2a52af92dc855bc; -&a7022b9d1c7c194f27b1dd6bc4e093697; -&aef8e0226f6126afb2453e659221e7330; -&aecbf6dfa1f6fa4c17585ac7e4eff69ef; -&a2d885644b44b3b9676bb9522b2302d9e; -&acc65fd8696943e1a4b7a1515adfac26d; -&aeae065e98e5caf4232a0aecc3a78dae6; -&a4ca7eb2183d94674b01f6b4d20a0a8f3; -&a2e2ff138201e7a3c659cc2e16a226ea5; -&a418de0bebfad1312e130535833127f08; -&a96429758f8b959e506c7a66d5b360b54; -&a917d366f9f46037f6a8e01126615b102; -&a772a38fab08d7eabf51280d2ceb5d8d9; -&aa9a5966969f01fa9d4edd7ff3423f006; -&a91870007b51d3fd0800610d83a035fde; -&a816b52645e1bf16373e1a72ea585a009; -&af5fb964c532696b13e8a01d8f16fe052; -&a0276d0be96a5fa3418c6a444c4b85442; -&af86865824018a287588e17662223dcaa; -&a4d7ecaad3186ac096d933689e251a1c2; -&a44f0c49020c51a70c39d3853e515495d; -&afcfb3d20fc86ed90b62e99fbf0ca8fd0; -&a5585324c3dd5301043788660ce0f36ca; -&a69a13bf7bf2c2d1704ddebfff33c94be; -&ab1453252bafa29241202516166a9f783; -&a6db0813748b2ce47693ca82e8208bbb8; -&a7d6411a5dd16d795cf44bbe48c3289ad; -&a15e621608a3503fb64669da1d9ca8619; -&a7c72c8a8d7d554e521e83060089815fa; -&a7c8bf8293a571fb2d6d94dc53959266a; -&ab54c5530e341558ddfc71ec8ffb45aac; -&a9b8b0d208fe7a2581097650c4eed31bf; -&a9fa8430a1f63fbea843dbadf6aa070ab; -&a9114be05b5cf59a0cffc8921b4d5f918; -&a9b1d2e56d8d2907f6b9fb0f20f641573; -&a8f8cb27d2a1e48303a9597f4e60e731b; -&a050b38bceab9f2dd907cbbb0d14ab2f4; -&a716d878bc9e3e1fb19a5357ef70823f7; -&a6afb5f3f3514b7e47d13299e5064d0af; -&aa8df37d359b12284be2e59d98627db73; -&a111a8fca523b8646d1eb526a08cb5f10; -&a8c6457516ccc6e7306473da4a6b17fd9; -&a55b3b05f765c3883176f3139680ee4c0; -&a941c0f7793607300f531db0534ec3698; -&a7f91887a7293318872b7170cf01404c3; -&abaa1ff6608a326ef22ef237cdf7dc0c1; -&ab1b710cbacc3b7e1934f3ee160f6f21e; -&a92ee012c477116f5f712c772e9cf4642; -&a90aa1e8c11381cf0903d47492fe76003; -&a19e3effbd0be032c384f4d29f088b26b; -&a962cc0afc86fe9cfb3c725b2fb3fc8a7; -&a23b2c788dac918bb541cee278c217004; -&a375c8e3fce488c88fd2ad58e421cb109; -&a05ea7008eb727c478f18a19acf34e221; -&a9058a43e855325dd2da653945e7c5317; -&ab55327a4128934be29626f54b82503e3; -&a18ff41a908bdd56dea489618073337b1; -&a92170f9f580f031accbbfc82dd265808; -&a80926c0c0f8f3797be07e7275c8dcdb5; -&a72cacbd2a95ba7e1c27d8220b58a1681; -&a625e1803c72496b56195689f9388f40e; -&a1cdc594306227014fb9570da9fdfaba5; -&aaa714a94f0c1e251775fd03f088f3589; -&af64d9784de8ecdcce28f1963d081aa2a; -&a76a6fdb476060a229f6bb52e29d99667; -&a984843fd00f52de0c91d72a2f2d35c60; -&aa68766b620d78caaa210ddf54e4740c6; -&a9498b8e51ebd5d30b14e4ae51f11a0e4; -&a414cd2bf4fbb0240eb4cb3cc3193e8a5; -&a92393e692247c0be55c2903ed953eb1f; -&ae56eae8fd9fe4b5607eb687d41a62a8d; -&a2613023045f6fa97a511ae290196314e; -&aa402b99039e77ec462ad76fb8b80b145; -&ab8d6a07007057c840f1b7afc44a04a38; -&a71e0df8a7f16e193b7907129844a566b; -&a61f5fce0a9ccf631897caf0b1580cb79; -&a98e791bec81dfb22d09ccc4e1cebf498; -&a8169e81c662c3c6f99fcfd31a716f003; -&a61486111f2c5646c41de7852a40890d3; -&a9ba6cffd73212e01a5a1cf48c370f31b; -&a5ff4fb227aad23a52510b08738d06635; -&a624b692de7106f79b52675e6f6e864db; -&ab5ec2471f2a87567d2eda164da9cfc88; -&a7f2f6a5c9d5ae84e00a33bc655680cbc; -&a86c828962a88c80762ba774eb4689015; -&a1ec494594cb2a65f69a4c305135a03dc; -&a3024e7b1d5ec82a1746c1bb317b05bdd; -&ae56b79980853d5c39cda79745ad43e1c; -&afb072dbcb7e8025a801eb32f37a69dfb; -&a9cce784055276e298cf721d8e269c31c; -&ad84d3dcc40317a06780d4e68cbec8db0; -&a522ad212c78230cdbad7a4a0d8daaadd; -&ad0a91e7320d3da715c8e58990f5397a4; +&a231328952124a7e187905e71aaf9cee0; +&acc27042e738d175d1131be40ac8443e4; +&a00c7c9f2a0021ff13869dce3b90df38c; +&a2801dc954ec6ac2e1c314367aab7316b; +&aa86636858e7127f17b93747fc8f3ec30; +&a2804cc9a113729444d60d8cf3c14b554; +&a78af20f681c48f8ec298b379b34418b7; +&af1b518d74e5b9c0251ecb1df257eb407; +&af8a337c857d4b373e49c0032acb1370f; +&a8db037e6c34a1ac0f7db27577e08e15d; +&a31f48c823b3b36a8c44e96ff54eaf66a; +&a4965260600d5ae3055dc940551b4155a; +&a203e8f0f36fcdb6d7dab204312a41134; +&a33562ce8ee2b64f5e49f771f94e64714; +&a2ead104a959d0030deacd8bfd726d641; +&affed76d132b047f7e7dd7feaf7460b96; +&a9a73fbe4c732d8d281a15b9c56b66cd7; +&af063a7c3d52b3fc249eccfea5477233a; +&a6b85a8141239aa12da5fd722e12764c5; +&ac13ce08d83a0b050bbcd34097be69474; +&a3ac1d95c0377fbd5021c9ab3878d3381; +&a8bfbf0158cec14ad1852c16a1bcd1a9f; +&aad687051b3ff18c103250462607b8bfe; +&ae12b60324a0fd39a6eaeaa29154462d3; +&a952ffa1c6ec05774d717ea1a51c966c7; +&a63809fd4817619e419316a6fb51f2478; +&a67189797ee7307d2f12d2d9db1429d16; +&a6f811f8e27e331fa279fc0462a6dd852; +&af57064694f5b9424a2fb945bab08663a; +&a788630ff50c6129a3217a8b029fdb706; +&ad67eb98c7a334e2ccd2584c52d1f7490; +&a9aaa53086cfad7fff7a9568a895c584e; +&a80fd0493bf42ae683bb78ef95ecc8ff1; +&a1dc032779f7ba8e8f69e8f79dfb144d5; +&a5bf1548e6f5419396992c7e5fee10e44; +&a675cd787aff166461d9e9da55d591875; +&adc56a73851265426ed0c3db40f3a0d2e; +&a3d40cac540363daecb58818938d2b1d3; +&ad2840257a4ded4da25428645e8a8fd22; +&abaaa2a634a57347cfaeb3f75cc42b298; +&ae8d01defeace3e366cfdce71da71d5e2; +&a76e2baa7f20cd4d2b517c7f65f4b0a87; +&a438b318f3a65f8e10cb292c16ee48d3d; +&a012dc78292d46d1a6bfdd411607796ae; +&a4c9381ac38659e2e9ccdf89e9aec08f9; +&a732f6e560fa62dcfe2137f94ce0b812b; +&a8e9030fad0ea16388695b20a07e04334; +&a3ffbb42a185eaf6b62029b6efc883d6b; +&ac93a3534190eae2db767de3935ad4fbc; +&afe6460b06ca50c9c2d156ea6806d2ed9; +&a52aa309fac8ef71cd8d143ac51969fe0; +&aa0ecb21a4fba74cd96dd91d64d4f13ef; +&a54ce5c2d68eb85b370486a8657432e59; +&ae7e31ef8153e0b43af5b7d3b54f281b8; +&a0d95063280ebe0c559bd51e94d6809cb; +&a528ea74a7c6d6e7453f0a50c2b96a9ee; +&ae0c094a4d283763517f2a9d8dc2d47dd; +&a61dce7ba646ca92aaf5a1ba090aa25e4; +&ad146f651e2b3ae0f2c4548c9d31b9324; +&a093a9f733664f253ef62c57cbfd1f345; +&ad9f3946f61509aa68a6555cc8e1e89c4; +&a0b5dd6bfc7c995741ff59cb1f2e6bd9d; +&a6f9f6be023cda42def4540ebe4a826ad; +&ab3a31ebfc4f38ef5c568256700871cf9; +&aaadfeefbe7128b3e19dfcf58d9259fba; +&a73e8c044770a7cfd905f857689a6baa1; +&a94e89cc06baa492675fb0ba33b84c454; +&a19950da21e14157b78311a84cf566c31; +&a997024f7f60a0e9b5b06fb25b4549196; +&a60063fcaf779858435eab52d0438f7c0; +&a5b1b81f5a27ba264b58d0ede7bf40d6e; +&aaa8fd7d64f02100f0ff4b9f5a601b502; +&a6c84bcba9eda7daf35794f2c2b1cfc36; +&a5a10dacc8f7724140837e716eefea546; +&a241d399410079c666c88bab68b4bd8b6; +&a6091479f1738a3f05872855ff81f767e; +&a79d0e19a419a4da0e9852a883c56e875; +&acbf561fbe774483d5bdd6bb94f356c92; +&a829161f2b17c647cab27ce7e4e177861; +&a09f64c6e5d7a6e94067ecb6f99796457; +&a277e25e2845fbbffbb98cb9bd813d43e; +&a350fe0538e119f50421b72fb0177d862; +&a89a8d615b106b54285bf3493164dde99; +&a5d806f19e64dff92d1430af2e3d36434; +&a93018e4b205ad1077ed39b70108ab6f5; +&a564da052a4377e3262d3e2eaaff74169; +&a55af75fd2a9b6cd5cd41835b0a2cc3b9; +&af8c65bd6904096611c2566ec57c5b032; +&a6fd54fa41c0d83b890ecda9094cd757f; +&a9a5ec7990aa1e0ee187582dfea2e2f18; +&a6c98b32822a438724a01bbbc3c6e8972; +&a414728f3a3bc742adaead017680e9eb1; +&a2992435e7a3da65808422b5922e44afd; +&a056e2f09f5221e8999a0fea1c1fa878d; +&a9142e379fc897ce07ddb4601b5f6eff9; +&adc184a6cbbaa2bb5ce1233a789ac1f35; +&a05f89038eb00b07e70e0873d8d1dfdbd; +&a2fb2ab4d09d36ef1d84d3666c77ea926; +&a3d73ca698d63b8e1aca3d442d62d67c8; +&a17c1049c0e838c40c3d0c6330a1ed18e; +&a9f42719de3232f6757f8f9645f04d2ba; +&aa2dde2bdf03f823c2c8bcbe7c32ac6f5; +&a1341fabc85cc66d9215f09a3b3389f21; +&a9582da81a2996f4949f3a56504ac7af0; +&af06621ea64b7432870e0c9de816a7a3f; +&aedaf12b58709e4d66d9594c045e7fab9; +&a076a06248e94759c2531feb6af82b4b2; +&a550cb394018ff7036f3bf7ed85cd894a; +&aadd3778bbb3c69186062e83df88617b6; +&ae880c6aad471ddeadec92a73990a8916; +&a3a1de36d214f8b24968c347990a780ca; +&afd0accae740fccac83b6e58da7ad7f67; +&aaff1fbd30d203394a0065360948cb552; +&a64409832c5b89c298638be3ae481e2db; +&a94b0fd913cff757ba932421487806ce2; +&a501538e66b60a9dad666d8feebebc808; +&a2cd55936714d73ab7cfc5b191e1ab310; +&a5100d9ea14ecae777adf29449f8326bd; +&a5d96b63e9d96e401c886dc2e59f352ae; +&a7eb314d0aac7fe50a8b374d1fe09224a; +&a5f1fdcf4bd80a0fdc97b1a66dc3d6126; +&aa6381ef62e04401a281532a2b26866e4; +&ab54549e25f72917f5984976326446806; +&aad2ae34d6eb1330043839076bfe50370; +&a2cb9870e7f3797bd8079af0d6bd72c2a; +&a6f84b9f7d14410ce7b79c7e06629063c; +&ab20a31499c13238dfad5e6a9a47494a8; +&af78d47b6f1d4f40097f16df906159928; +&a39a1a3343fe803f4afaf048b8d1570f3; +&a0d9a41d49a4663bd5ae6e17bce7f3f9d; +&ae90b90188af214c9b4bfbfd5186a57e3; +&ab8ccec6c3405c19a470f1f3ca558ad07; +&a454451daa892c02d56805334a51be93f; +&ac1059f65770cbb8f7e8f63040d89272e; +&a66543787f73f1ce1e7be63649b30a3c7; +&acc1420fa4419b0f270ad3f8d342a3462; +&a61595e565a64e6b77b85a8028a66eea6; +&a995c78b83fbbea551450e7012f13797f; +&a0442ccd02553bee97fde66f2838895ba; +&a87c50c8b5be2390300fbfe46bb1ca120; +&a02d1bdbd42659a3e4019d0498b14f321; +&a9d6134bc5259cb5aeb088a6de56a1ec1; +&aa37bf7c43823e017babd5e030e712970; +&a9781f4c56bafacf94214fc66102348a2; +&a169ef193b097a09b6d3ffec52f5f1485; +&acc6ca2c4223c6eb2605224fd487187d2; +&a29996fb75db3d782680d4ca3f521df92; +&afd9713fe61540255e892066b5137e59d; +&aa980f3c9624ae005414c12d7a877509e; +&a7d2647c034f43a9251e2db288609a1b7; +&a882da254da001f466eb31bbd41361a56; +&a9bbded342cd4ef28c778daaa3422204c; +&a19ce5d9910772e73e9e89012e50e7b00; +&a345e02cd34c617dbd3421a2105685535; +&a6801e6f009157396cae1b490394153e1; +&aaa07642adb4af69e9b9b0e253ee2e09e; +&a822b7b0a550b48a6c61f5d82f34fb2a6; +&a0fb1810de5f83ec9ef3044ef50bea460; +&a3be9e2c9b768acd0dd7364298b0bfee5; +&a29e745c3794d5108d4133e8779cc61f7; +&ae7f0ecf1810506f8d5417e97c2d11615; +&ad59b2b322970b02a5fb9d524a71f7beb; +&af8807cd3a5d1b02d4a288e796360fe2a; +&a29e9c3d00fcd3169bd8354488b4977cb; +&ad7cebbbaa3e2ced9e0c9182662c86b8a; +&a6fbe2bc6ace27b1a7b3efaae322ab6dc; +&ac5914c0be89a4c4439097765c0e7cecc; +&a6da361fad125fe561580436a66d9d7bc; +&ad2dfb1b46cc492f8d323e1b72dc22728; +&ab2e4570e0024f556a50f7fe8da8ba151; +&a04ef233b467060d4578b43b8971f38a3; +&ac097cbdcb4b28badcff3616e968aa3f7; +&a6352349298514ffd575c2367e13c14b3; +&a9ab8a24e5b3bc5753cc3cb6cb6de74b8; +&a299d9f2b3a06d39e69e093804117f40f; +&a712e3325216084f0ff29f772a41abce2; +&a4ce9f761027a046b75fe3e665393082f; +&a06bd86308806c0555e5fd4bf92e2b769; +&ae3cd6a4ac731b860300da199c84af7a9; +&a492bcb2ea4cbe2a4a1f7c0a6d0054c29; +&acfde8a4181328405e0f648d4aa9b843b; +&ab3cbb2aaaf730a032674d18bc031731a; +&a877d0d12418f2bbc520a5d1403d62a32; +&af5fec193153f2dad9515f9b81d500410; +&a0c7f7373d0deae4317b309d407e54ed0; +&a4298bff4e637e7043203de25a4709e86; +&a82677926514040027d5aeb5f81dc9208; +&aa6b76788e36e0d6d7d2c1ec5d1604798; +&aea7524fc34de97fc745d01ae564677a1; +&a10a36960bde6b0639f4f358216f704cf; +&a5feba38524659afdbe4015b645b45f4e; +&a862e51cacd34ba79921d6ba8fadc2e3d; +&ab3f2bf2ab34afc8e14ff23ada59fb889; +&ad5fcb6a854ea4ab1a826c2cfe506037e; +&ad6371d5f083f4ac4fd57fa369e3cce7f; +&a050855b5f4f81d6e0c1778748ef21573; +&acfaa379418f785d6abf7e7745da20005; +&ab64c40cd49111b8db8a276e394939be8; +&a6d63448e238679b1ffcf82bb12f3ab56; +&a22391101c208e4851f12b2d38b1c940b; +&adbd99bd46c01b285deaa3bcc1d9c6c42; +&a55d26e66ea1393dcf99b7df5ba827b79; +&a4d46b917ce6f500dce168ee18a1d17e6; +&a1456cb0354e92a694fa9311ee5362daf; +&af974230baefb26fbc56264ee4ddd9e72; +&a74b148e7e471bd9f170cd4dc3087d2c9; +&a243b79cdb976d4f432450ea744ca236c; +&a9187ccad1c55b5cd1a5a900b17f2104b; +&a805a0ed4cae04e01f29ecf5f82345622; +&a6e3552f90470c430b16dca28da599068; +&aff0a00518280d05c9d58a7de46b1b160; +&a5f191b2f9a255115bd43ce5e8c9dfe46; +&ab455e53fbe01264634cd4b2a4eb4c907; +&af62b68dd386718f8d27cb4d8364b8335; +&ad88190c86ecf59da91f5e21feb3a23c1; +&a735fd0a0700e104dbe5abbcd22ab616d; +&a378bace2a9b27a9198f9ffc3ba4efcb2; +&a64dae20703f14187621c3e22fca1ebe9; +&ac34fae293643ed52873e880dddf91bc1; +&a97101bd7eb46f1029e6ea2a054d405ac; +&aab35d1b77962f2054fd115ad6f8eb120; +&a1d535975c3fb7e7d8a0f9658e1c0f6c0; +&a091c9c305748e84d41eca16f78e2995f; +&a41d68bfcb502a6ea6c94d0fdc154323b; +&aee101979a880a08e0a3c6cdbd958bdf8; +&a08e5aa34c91e6ebaba8fc63e3af9fe31; +&a181e55fa472ec1667172b73625f1b776; +&a4a8f4d8bf9f98af1fc99ba9328aa4a50; +&a812d9c22a396a5551693bb4d6dcae5b8; +&af95666e924be0e4cd14c6415f124f7d8; +&ab4413930d155521ee36e3b7a19400809; +&a07861a28f3bed2170e83949b6e2c3809; +&a99676709afd29b9c0701a4ca0e97365e; +&ac4b6feabfcffe4748eea06cf81d6c28b; +&a9eb5dbeb1370f1a1f23b414438b423b7; +&a61b6ccda9c51a7fb92674a98fd9f358a; diff --git a/help/en_US/ncauer.xml b/help/en_US/ncauer.xml new file mode 100644 index 0000000..a9395af --- /dev/null +++ b/help/en_US/ncauer.xml @@ -0,0 +1,71 @@ + + + + + + + + ncauer + Analog prototype for Cauer filter. + + + + + Calling Sequence + + [Zz, Zp, Zg] = ncauer(Rp, Rs, n) + [Zz, Zp] = ncauer(Rp, Rs, n) + Zz = ncauer(Rp, Rs, n) + + + + + Parameters + + n: + Filter Order + Rp: + Peak-to-peak passband ripple + Rs: + Stopband attenuation + + + + + Description + +This is an Octave function. +It designs an analog prototype for Cauer filter of nth order, with a Peak-to-peak passband ripple of Rp and a stopband attenuation of Rs. + + + + + Examples + + + diff --git a/help/en_US/pei_tseng_notch.xml b/help/en_US/pei_tseng_notch.xml new file mode 100644 index 0000000..a2b1f37 --- /dev/null +++ b/help/en_US/pei_tseng_notch.xml @@ -0,0 +1,66 @@ + + + + + + + + pei_tseng_notch + + + + + + Calling Sequence + + [b, a] = pei_tseng_notch (frequencies, bandwidths) + b = pei_tseng_notch (frequencies, bandwidths) + + + + + Parameters + + frequencies: + filter frequencies + bandwidths: + bandwidths to be used with filter + + + + + Description + +This is an Octave function. +It return coefficients for an IIR notch-filter with one or more filter frequencies and according bandwidths. The filter is based on a all pass filter that performs phasereversal at filter frequencies. +This leads to removal of those frequencies of the original and phase-distorted signal. + + + + + Examples + + + diff --git a/help/en_US/rceps.xml b/help/en_US/rceps.xml new file mode 100644 index 0000000..fbf1ce8 --- /dev/null +++ b/help/en_US/rceps.xml @@ -0,0 +1,50 @@ + + + + + + + + rceps + Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the signal x. + + + + + Calling Sequence + + [y, xm] = rceps(x) + + + + + Parameters + + x: + real or complex vector input + + + + + Examples + + + diff --git a/help/en_US/remez1.xml b/help/en_US/remez1.xml new file mode 100644 index 0000000..0336490 --- /dev/null +++ b/help/en_US/remez1.xml @@ -0,0 +1,58 @@ + + + + + + + + remez1 + Parks-McClellan optimal FIR filter design + + + + + Calling Sequence + + b = remez1 (n, f, a) + b = remez1 (n, f, a, w) + b = remez1 (n, f, a, w, ftype) + b = remez1 (n, f, a, w, ftype, griddensity) + + + + + Parameters + + n: + gives the number of taps in the returned filter + f: + gives frequency at the band edges [b1 e1 b2 e2 b3 e3 …] + a: + gives amplitude at the band edges [a(b1) a(e1) a(b2) a(e2) …] + w: + gives weighting applied to each band + ftype: + is "bandpass", "hilbert" or "differentiator" + griddensity: + determines how accurately the filter will be constructed. The minimum value is 16, but higher numbers are slower to compute. + + + + + Description + +Frequency is in the range (0, 1), with 1 being the Nyquist frequency. + + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 94d77de..8aaa253 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 69df842..b54d5ae 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index d12a497..c9aea54 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 695869a..8ed5123 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 677736a..c854eb8 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1967 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2314 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index c563e48..ee969b9 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index 61a8d3f..6dfccf5 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,7 +2,7 @@ - + @@ -12,6 +12,7 @@ + @@ -20,11 +21,16 @@ + + + + + @@ -35,8 +41,10 @@ + + @@ -44,13 +52,18 @@ + + + + + @@ -59,8 +72,10 @@ + + @@ -69,14 +84,25 @@ + + + + + + + + + + + @@ -105,6 +131,7 @@ + @@ -112,6 +139,7 @@ + @@ -136,9 +164,11 @@ + + @@ -157,6 +187,9 @@ + + + @@ -165,11 +198,16 @@ + + + + + @@ -188,12 +226,17 @@ + + + + + \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 91a8471..ca70a11 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -2,7 +2,7 @@ - + @@ -12,6 +12,7 @@ + @@ -20,11 +21,16 @@ + + + + + @@ -35,8 +41,10 @@ + + @@ -44,13 +52,18 @@ + + + + + @@ -59,8 +72,10 @@ + + @@ -69,14 +84,25 @@ + + + + + + + + + + + @@ -105,6 +131,7 @@ + @@ -112,6 +139,7 @@ + @@ -136,9 +164,11 @@ + + @@ -157,6 +187,9 @@ + + + @@ -165,11 +198,16 @@ + + + + + @@ -188,13 +226,18 @@ + + + + + diff --git a/help/en_US/sigmoid_train.xml b/help/en_US/sigmoid_train.xml new file mode 100644 index 0000000..07a86b7 --- /dev/null +++ b/help/en_US/sigmoid_train.xml @@ -0,0 +1,23 @@ + + + + + + + + sigmoid_train + funcprot(0); + + + diff --git a/help/en_US/sinetone.xml b/help/en_US/sinetone.xml new file mode 100644 index 0000000..ce0e9f7 --- /dev/null +++ b/help/en_US/sinetone.xml @@ -0,0 +1,54 @@ + + + + + + + + sinetone + Return a sinetone of the input + + + + + Calling Sequence + + y= sinetone(FREQ) + y= sinetone(FREQ, RATE) + y= sinetone(FREQ, RATE, SEC) + y= sinetone(FREQ, RATE, SEC, AMPL) + + + + + Parameters + + FREQ: + frequency of sinetone + RATE: + Sampling rate + SEC: + Length in seconds + AMPL: + Amplitude + + + + + Description + +Return a sinetone of frequency FREQ with a length of SEC seconds atsampling rate RATE and with amplitude AMPL.The arguments FREQ and AMPL may be vectors of common size.The defaults are RATE = 8000, SEC = 1, and AMPL = 64. + + + diff --git a/help/en_US/sinewave.xml b/help/en_US/sinewave.xml new file mode 100644 index 0000000..bcc785d --- /dev/null +++ b/help/en_US/sinewave.xml @@ -0,0 +1,53 @@ + + + + + + + + sinewave + Return an M-element vector with I-th element given by 'sin(2* pi *(I+D-1)/N).' + + + + + Calling Sequence + + y= sinewave(M) + y= sinewave(M,N) + y= sinewave(M,N,D) + + + + + Parameters + + M: + Input vector + N: + The default value for N is M + D: + The default value for D is 0 + AMPL: + Amplitude + + + + + Description + +Return an M-element vector with I-th element given by 'sin(2* pi *(I+D-1)/N).' + + + diff --git a/help/en_US/spectral_adf.xml b/help/en_US/spectral_adf.xml new file mode 100644 index 0000000..164d3e0 --- /dev/null +++ b/help/en_US/spectral_adf.xml @@ -0,0 +1,54 @@ + + + + + + + + spectral_adf + Return the spectral density estimator given a vector of autocovariances C, window name WIN, and bandwidth, B. + + + + + Calling Sequence + + spectral_adf(C) + spectral_adf(C, WIN) + spectral_adf(C, WIN, B) + + + + + Parameters + + C: + Autocovariances + WIN: + Window names + B: + Bandwidth + + + + + Description + +Return the spectral density estimator given a vector ofautocovariances C, window name WIN, and bandwidth, B. +The window name, e.g., "triangle" or "rectangle" is used to search for a function called 'WIN_lw'. +If WIN is omitted, the triangle window is used. +If B is omitted, '1 / sqrt (length (C))' is used. + + + diff --git a/help/en_US/spectral_xdf.xml b/help/en_US/spectral_xdf.xml new file mode 100644 index 0000000..04cc793 --- /dev/null +++ b/help/en_US/spectral_xdf.xml @@ -0,0 +1,54 @@ + + + + + + + + spectral_xdf + Return the spectral density estimator given a data vector X, window name WIN, and bandwidth, B. + + + + + Calling Sequence + + spectral_xdf(X) + spectral_xdf(X, WIN) + spectral_xdf(X, WIN, B) + + + + + Parameters + + X: + Data Vector + WIN: + Window names + B: + Bandwidth + + + + + Description + +Return the spectral density estimator given a data vector X, window name WIN, and bandwidth, B. +The window name, e.g., "triangle" or "rectangle" is used to search for a function called 'WIN_lw'. +If WIN is omitted, the triangle window is used. +If B is omitted, '1 / sqrt (length (X))' is used. + + + diff --git a/help/en_US/spencer.xml b/help/en_US/spencer.xml new file mode 100644 index 0000000..66b1570 --- /dev/null +++ b/help/en_US/spencer.xml @@ -0,0 +1,45 @@ + + + + + + + + spencer + Return Spencer's 15 point moving average of each column of X. + + + + + Calling Sequence + + spencer(X) + + + + + Parameters + + X: + Real scalar or vector + + + + + Description + +Return Spencer's 15 point moving average of each column of X. + + + diff --git a/help/en_US/stft.xml b/help/en_US/stft.xml new file mode 100644 index 0000000..2449be3 --- /dev/null +++ b/help/en_US/stft.xml @@ -0,0 +1,84 @@ + + + + + + + + stft + Compute the short-time Fourier transform of the vector X + + + + + Calling Sequence + + Y = stft (X) + Y = stft (X, WIN_SIZE) + Y = stft (X, WIN_SIZE, INC) + Y = stft (X, WIN_SIZE, INC, NUM_COEF) + Y = stft (X, WIN_SIZE, INC, NUM_COEF, WIN_TYPE) + [Y,C] = stft (X) + [Y,C] = stft (X, WIN_SIZE) + [Y,C] = stft (X, WIN_SIZE, INC) + [Y,C] = stft (X, WIN_SIZE, INC, NUM_COEF) + [Y,C] = stft (X, WIN_SIZE, INC, NUM_COEF, WIN_TYPE) + + + + + Parameters + + X: + Real scalar or vector + WIN_SIZE: + Size of the window used + INC: + Increment + WIN_TYPE: + Type of window + + + + + Description + +Compute the short-time Fourier transform of the vector X with NUM_COEF coefficients by applying a window of WIN_SIZE data points and an increment of INC points. + + +Before computing the Fourier transform, one of the following windows is applied: + + +"hanning" -> win_type = 1 + + +"hamming" -> win_type = 2 + + +"rectangle" -> win_type = 3 + + +The window names can be passed as strings or by the WIN_TYPE number. + + +The following defaults are used for unspecified arguments:WIN_SIZE= 80, INC = 24, NUM_COEF = 64, and WIN_TYPE = 1. + + +Y = stft (X, ...)' returns the absolute values of the Fourier coefficients according to the NUM_COEF positive frequencies. + + +'[Y, C] = stft (x, ...)' returns the entire STFT-matrix Y and a 3-element vector C containing the window size, increment, and window type, which is needed by the 'synthesis' function. + + + diff --git a/help/en_US/synthesis.xml b/help/en_US/synthesis.xml new file mode 100644 index 0000000..b1c1270 --- /dev/null +++ b/help/en_US/synthesis.xml @@ -0,0 +1,49 @@ + + + + + + + + synthesis + Compute a signal from its short-time Fourier transform + + + + + Calling Sequence + + X= synthesis(Y,C) + + + + + Parameters + + Y: + Shirt-time fourier transform + C: + 3-element vector C specifying window size, increment, window type. + + + + + Description + +Compute a signal from its short-time Fourier transform Y and a 3-element vector C specifying window size, increment, and window type. +The values Y and C can be derived by +[Y, C] = stft (X , ...) + + + diff --git a/help/en_US/wconv.xml b/help/en_US/wconv.xml new file mode 100644 index 0000000..acbf777 --- /dev/null +++ b/help/en_US/wconv.xml @@ -0,0 +1,64 @@ + + + + + + + + wconv + Performs 1D or 2D convolution. + + + + + Calling Sequence + + y = wconv (type, x, f) + y = wconv (type, x, f, shape) + + + + + Parameters + + type: + convolution type. + x: + Signal vector or matrix. + f: + FIR filter coefficients. + shape: + Shape. + + + + + Description + +This is an Octave function. +It performs 1D or 2D convolution between the signal x and the filter coefficients f. + + + + + Examples + + + diff --git a/help/en_US/xcov1.xml b/help/en_US/xcov1.xml new file mode 100644 index 0000000..7a866bb --- /dev/null +++ b/help/en_US/xcov1.xml @@ -0,0 +1,23 @@ + + + + + + + + xcov1 + + + + diff --git a/help/en_US/yulewalker.xml b/help/en_US/yulewalker.xml new file mode 100644 index 0000000..5fdac3c --- /dev/null +++ b/help/en_US/yulewalker.xml @@ -0,0 +1,47 @@ + + + + + + + + yulewalker + Fit an AR (p)-model with Yule-Walker estimates given a vector C of autocovariances '[gamma_0, ..., gamma_p]'. + + + + + Calling Sequence + + A = yulewalker(C) + [A,V]= yulewalker(C) + + + + + Parameters + + C: + Autocovariances + + + + + Description + +Fit an AR (p)-model with Yule-Walker estimates given a vector C of autocovariances '[gamma_0, ..., gamma_p]'. +Returns the AR coefficients, A, and the variance of white noise, V. + + + diff --git a/help/en_US/zp2ss.xml b/help/en_US/zp2ss.xml new file mode 100644 index 0000000..64b0594 --- /dev/null +++ b/help/en_US/zp2ss.xml @@ -0,0 +1,90 @@ + + + + + + + + zp2ss + Converts zeros / poles to state space. + + + + + Calling Sequence + + [a, b, c, d] = zp2ss (z, p, k) + [a, b, c] = zp2ss (z, p, k) + [a, b] = zp2ss (z, p, k) + a = zp2ss (z, p, k) + + + + + Parameters + + z: + Zeros + p: + Poles + k: + Leading coefficient + a: + State space parameter + a: + State space parameter + b: + State space parameter + c: + State space parameter + d: + State space parameter + + + + + Description + +This is an Octave function. +It converts zeros / poles to state space. + + + + + Examples + + + diff --git a/help/en_US/zp2tf.xml b/help/en_US/zp2tf.xml new file mode 100644 index 0000000..c9e16af --- /dev/null +++ b/help/en_US/zp2tf.xml @@ -0,0 +1,72 @@ + + + + + + + + zp2tf + Converts zeros / poles to a transfer function. + + + + + Calling Sequence + + [num, den] = zp2tf (z, p, k) + num = zp2tf (z, p, k) + + + + + Parameters + + z: + Zeros + p: + Poles + k: + Leading coefficient + Num: + Numerator of the transfer function + den: + Denomenator of the transfer function + + + + + Description + +This is an Octave function. +It converts zeros / poles to a transfer function. + + + + + Examples + + + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 6cf97be..1d82b84 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/czt.bin b/macros/czt.bin index a9cd8c5..44ef120 100644 Binary files a/macros/czt.bin and b/macros/czt.bin differ diff --git a/macros/czt.sci b/macros/czt.sci index b027489..84a0253 100644 --- a/macros/czt.sci +++ b/macros/czt.sci @@ -1,4 +1,23 @@ function y = czt(x, varargin) +//Chirp Z Transform +//Calling Sequence +//czt (x) +//czt (x, m) +//czt (x, m, w) +//czt (x, m, w, a) +//Parameters +//x: Input scalar or vector +//m: Total Number of steps +//w: ratio between points in each step +//a: point in the complex plane +//Description +//This is an Octave function. +//Chirp z-transform. Compute the frequency response starting at a and stepping by w for m steps. a is a point in the complex plane, and w is the ratio between points in each step (i.e., radius increases exponentially, and angle increases linearly). +//Examples +// m = 32; ## number of points desired +// w = exp(-j*2*pi*(f2-f1)/((m-1)*Fs)); ## freq. step of f2-f1/m +// a = exp(j*2*pi*f1/Fs); ## starting at frequency f1 +// y = czt(x, m, w, a); funcprot(0); lhs= argn(1); diff --git a/macros/dst1.bin b/macros/dst1.bin index 91b23ca..9ea31f9 100644 Binary files a/macros/dst1.bin and b/macros/dst1.bin differ diff --git a/macros/dst1.sci b/macros/dst1.sci index 3b3b4b6..7f2165f 100644 --- a/macros/dst1.sci +++ b/macros/dst1.sci @@ -1,5 +1,14 @@ function y = dst1(x, varargin) - +//Computes the type I discrete sine transform of x +//Calling Sequence +//y= dst1(x) +//y= dst1(x,n) +//Parameters +//x: real or complex valued vector +//n= Length to which x is trimmed before transform +//Description +//This is an Octave function. +//Computes the type I discrete sine transform of x. If n is given, then x is padded or trimmed to length n before computing the transform. If x is a matrix, compute the transform along the columns of the the matrix. funcprot(0); lhs= argn(1); diff --git a/macros/fwht.bin b/macros/fwht.bin index e2b1d80..d5d6cc6 100644 Binary files a/macros/fwht.bin and b/macros/fwht.bin differ diff --git a/macros/fwht.sci b/macros/fwht.sci index 280bbee..e0a15ff 100644 --- a/macros/fwht.sci +++ b/macros/fwht.sci @@ -1,4 +1,28 @@ function y = fwht(x, varargin) +//Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm +//Calling Sequence +//fwht (x) +//fwht (x, n) +//fwht (x, n, order) +//Parameters +//x: real or complex valued scalar or vector +//n: x is truncated or extended to have length n +//order: Specification of order in which coefficients should be arranged +//Description +//Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm. If the input is a matrix, the FWHT is calculated along the columns of x. +// +//The number of elements of x must be a power of 2; if not, the input will be extended and filled with zeros. If a second argument is given, the input is truncated or extended to have length n. +// +//The third argument specifies the order in which the returned Walsh-Hadamard transform coefficients should be arranged. The order may be any of the following strings: +// +//"sequency" +//The coefficients are returned in sequency order. This is the default if order is not given. +// +//"hadamard" +//The coefficients are returned in Hadamard order. +// +//"dyadic" +//The coefficients are returned in Gray code order. funcprot(0); rhs= argn(2); diff --git a/macros/hilbert1.bin b/macros/hilbert1.bin index 11ff749..486625b 100644 Binary files a/macros/hilbert1.bin and b/macros/hilbert1.bin differ diff --git a/macros/hilbert1.sci b/macros/hilbert1.sci index 864067f..1c0fe0e 100644 --- a/macros/hilbert1.sci +++ b/macros/hilbert1.sci @@ -1,4 +1,26 @@ function h= hilbert1(f, varargin) +//Analytic extension of real valued signal. +//Calling Sequence +// h= hilbert1(f) +// h= hilbert1(f,N) +// h= hilbert1(f,N,dim) +//Parameters +//f: real or complex valued scalar or vector +//N: The result will have length N +//dim : It analyses the input in this dimension +//Description +//h = hilbert (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. +// +//real (h) contains the original signal f. imag (h) contains the Hilbert transform of f. +// +//hilbert1 (f, N) does the same using a length N Hilbert transform. The result will also have length N. +// +//hilbert1 (f, [], dim) or hilbert1 (f, N, dim) does the same along dimension dim. +//Examples +//## notice that the imaginary signal is phase-shifted 90 degrees +// t=linspace(0,10,256); +// z = hilbert1(sin(2*pi*0.5*t)); +// grid on; plot(t,real(z),';real;',t,imag(z),';imag;'); funcprot(0); rhs= argn(2); diff --git a/macros/hurst.bin b/macros/hurst.bin index f723804..6422142 100644 Binary files a/macros/hurst.bin and b/macros/hurst.bin differ diff --git a/macros/hurst.sci b/macros/hurst.sci index 1a99f8c..27507fb 100644 --- a/macros/hurst.sci +++ b/macros/hurst.sci @@ -1,5 +1,13 @@ function y = hurst(x) - +// Estimate the Hurst parameter of sample X via the rescaled r statistic. +//Calling Sequence +//hurst(X) +//variable=hurst(X) +//Parameters +//X: X is a matrix, the parameter of sample X via the rescaled r statistic +//Description +//This is an Octave function. +//This function estimates the Hurst parameter of sample X via the rescaled rstatistic. funcprot(0); rhs= argn(2); if(rhs<1 | rhs>1) diff --git a/macros/ifht.bin b/macros/ifht.bin index 7cab709..124629d 100644 Binary files a/macros/ifht.bin and b/macros/ifht.bin differ diff --git a/macros/ifht.sci b/macros/ifht.sci index aacbd7a..7f865cb 100644 --- a/macros/ifht.sci +++ b/macros/ifht.sci @@ -1,4 +1,22 @@ function m = ifht(d, varargin) +//Calculate the inverse Fast Hartley Transform of real input D +//Calling Sequence +//m= ifht (d) +//m= ifht (d,n) +//m= ifht (d,n,dim) +//Parameters +//d: real or complex valued scalar or vector +//n: Similar to the options of FFT function +//dim: Similar to the options of FFT function +//Description +//Calculate the inverse Fast Hartley Transform of real input d. If d is a matrix, the inverse Hartley transform is calculated along the columns by default. The options n and dim are similar to the options of FFT function. +// +//The forward and inverse Hartley transforms are the same (except for a scale factor of 1/N for the inverse hartley transform), but implemented using different functions. +// +//The definition of the forward hartley transform for vector d, m[K] = 1/N \sum_{i=0}^{N-1} d[i]*(cos[K*2*pi*i/N] + sin[K*2*pi*i/N]), for 0 <= K < N. m[K] = 1/N \sum_{i=0}^{N-1} d[i]*CAS[K*i], for 0 <= K < N. +//Examples +//ifht(1 : 4) +//ifht(1:4, 2) funcprot(0); rhs= argn(2); if(rhs<1 | rhs>3) diff --git a/macros/invfreq.bin b/macros/invfreq.bin index a13ae55..7cd154e 100644 Binary files a/macros/invfreq.bin and b/macros/invfreq.bin differ diff --git a/macros/invfreq.sci b/macros/invfreq.sci index dde23ef..a720115 100644 --- a/macros/invfreq.sci +++ b/macros/invfreq.sci @@ -1,6 +1,28 @@ function [B,A] = invfreq(H,F,nB,nA,W,iter,tol, plane) - - +// Calculates inverse frequency vectors +// +// Calling Sequence +//[B,A] = invfreq(H,F,nB,nA) +//[B,A] = invfreq(H,F,nB,nA,W) +//[B,A] = invfreq(H,F,nB,nA,W,[],[],plane) +//[B,A] = invfreq(H,F,nB,nA,W,iter,tol,plane) +// +// Parameters +// H: desired complex frequency response,It is assumed that A and B are real polynomials, hence H is one-sided. +// F: vector of frequency samples in radians +// nA: order of denominator polynomial A +// nB: order of numerator polynomial B +// +// Description +//Fit filter B(z)/A(z) or B(s)/A(s) to complex frequency response at frequency points F. A and B are real polynomial coefficients of order nA and nB respectively. Optionally, the fit-errors can be weighted vs frequency according to the weights W. Also, the transform plane can be specified as either 's' for continuous time or 'z' for discrete time. 'z' is chosen by default. Eventually, Steiglitz-McBride iterations will be specified by iter and tol. +// +// Examples +// [B,A] = butter(12,1/4); +// [H,w] = freqz(B,A,128); +// [Bh,Ah] = invfreq(H,F,4,4); +// Hh = freqz(Bh,Ah); +// disp(sprintf('||frequency response error|| = %f',norm(H-Hh))); +// funcprot(0); lhs= argn(1); rhs= argn(2); diff --git a/macros/lib b/macros/lib index d84679d..c79382e 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/rceps.bin b/macros/rceps.bin index ff10b98..616b17e 100644 Binary files a/macros/rceps.bin and b/macros/rceps.bin differ diff --git a/macros/rceps.sci b/macros/rceps.sci index 065e482..8b4d89a 100644 --- a/macros/rceps.sci +++ b/macros/rceps.sci @@ -1,5 +1,17 @@ function [y, xm]= rceps(x) - +//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the signal x. +//Calling Sequence +//[y, xm] = rceps(x) +//Parameters +//x: real or complex vector input +//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the signal x. If x is a matrix, do so for each column of the matrix. +//Examples +// f0 = 70; Fs = 10000; # 100 Hz fundamental, 10kHz sampling rate +// a = poly (0.985 * exp (1i*pi*[0.1, -0.1, 0.3, -0.3])); # two formants +// s = 0.005 * randn (1024, 1); # Noise excitation signal +// s(1:Fs/f0:length(s)) = 1; # Impulse glottal wave +// x = filter (1, a, s); # Speech signal in x +// [y, xm] = rceps (x .* hanning (1024)); # cepstrum and min phase reconstruction funcprot(0) lhs= argn(1) rhs= argn(2) diff --git a/macros/remez1.bin b/macros/remez1.bin index 43589d0..0bad133 100644 Binary files a/macros/remez1.bin and b/macros/remez1.bin differ diff --git a/macros/remez1.sci b/macros/remez1.sci index aabb25e..0400d90 100644 --- a/macros/remez1.sci +++ b/macros/remez1.sci @@ -1,4 +1,19 @@ function b = remez1(n,f,a, varargin) +//Parks-McClellan optimal FIR filter design +//Calling Sequence +//b = remez1 (n, f, a) +//b = remez1 (n, f, a, w) +//b = remez1 (n, f, a, w, ftype) +//b = remez1 (n, f, a, w, ftype, griddensity) +//Parameters +//n: gives the number of taps in the returned filter +//f:gives frequency at the band edges [b1 e1 b2 e2 b3 e3 …] +//a:gives amplitude at the band edges [a(b1) a(e1) a(b2) a(e2) …] +//w:gives weighting applied to each band +//ftype:is "bandpass", "hilbert" or "differentiator" +//griddensity:determines how accurately the filter will be constructed. The minimum value is 16, but higher numbers are slower to compute. +//Description +//Frequency is in the range (0, 1), with 1 being the Nyquist frequency. funcprot(0); rhs= argn(2); diff --git a/macros/sinetone.bin b/macros/sinetone.bin index 0c7254b..7b3f298 100644 Binary files a/macros/sinetone.bin and b/macros/sinetone.bin differ diff --git a/macros/sinetone.sci b/macros/sinetone.sci index 006a2e0..407fa45 100644 --- a/macros/sinetone.sci +++ b/macros/sinetone.sci @@ -1,5 +1,17 @@ function y= sinetone(x, varargin) - +//Return a sinetone of the input +//Calling Sequence +//y= sinetone(FREQ) +//y= sinetone(FREQ, RATE) +//y= sinetone(FREQ, RATE, SEC) +//y= sinetone(FREQ, RATE, SEC, AMPL) +//Parameters +//FREQ: frequency of sinetone +//RATE: Sampling rate +//SEC: Length in seconds +//AMPL: Amplitude +//Description +//Return a sinetone of frequency FREQ with a length of SEC seconds atsampling rate RATE and with amplitude AMPL.The arguments FREQ and AMPL may be vectors of common size.The defaults are RATE = 8000, SEC = 1, and AMPL = 64. funcprot(0); rhs= argn(2); if(rhs<1 | rhs>4) diff --git a/macros/sinewave.bin b/macros/sinewave.bin index e5535c2..2aaae52 100644 Binary files a/macros/sinewave.bin and b/macros/sinewave.bin differ diff --git a/macros/sinewave.sci b/macros/sinewave.sci index d5bdfa9..5263f35 100644 --- a/macros/sinewave.sci +++ b/macros/sinewave.sci @@ -1,5 +1,16 @@ function y= sinewave(x, varargin) - +//Return an M-element vector with I-th element given by 'sin(2* pi *(I+D-1)/N).' +//Calling Sequence +//y= sinewave(M) +//y= sinewave(M,N) +//y= sinewave(M,N,D) +//Parameters +//M: Input vector +//N: The default value for N is M +//D: The default value for D is 0 +//AMPL: Amplitude +//Description +//Return an M-element vector with I-th element given by 'sin(2* pi *(I+D-1)/N).' funcprot(0); rhs= argn(2); if(rhs<1 | rhs>3) diff --git a/macros/spectral_adf.bin b/macros/spectral_adf.bin index f0cdacf..04d7bd0 100644 Binary files a/macros/spectral_adf.bin and b/macros/spectral_adf.bin differ diff --git a/macros/spectral_adf.sci b/macros/spectral_adf.sci index ea81f42..38b3990 100644 --- a/macros/spectral_adf.sci +++ b/macros/spectral_adf.sci @@ -1,5 +1,20 @@ function y= spectral_adf(x, varargin) +// Return the spectral density estimator given a vector of autocovariances C, window name WIN, and bandwidth, B. +//Calling Sequence +//spectral_adf(C) +//spectral_adf(C, WIN) +//spectral_adf(C, WIN, B) +//Parameters +//C: Autocovariances +//WIN: Window names +//B: Bandwidth +//Description +//Return the spectral density estimator given a vector ofautocovariances C, window name WIN, and bandwidth, B. +//The window name, e.g., "triangle" or "rectangle" is used to search for a function called 'WIN_lw'. +//If WIN is omitted, the triangle window is used. +//If B is omitted, '1 / sqrt (length (C))' is used. + funcprot(0); rhs= argn(2); if(rhs<1 | rhs>3) diff --git a/macros/spectral_xdf.bin b/macros/spectral_xdf.bin index 78678da..07783ee 100644 Binary files a/macros/spectral_xdf.bin and b/macros/spectral_xdf.bin differ diff --git a/macros/spectral_xdf.sci b/macros/spectral_xdf.sci index fe93327..f0d457b 100644 --- a/macros/spectral_xdf.sci +++ b/macros/spectral_xdf.sci @@ -1,5 +1,18 @@ function y= spectral_xdf(x, varargin) - +// Return the spectral density estimator given a data vector X, window name WIN, and bandwidth, B. +//Calling Sequence +//spectral_xdf(X) +//spectral_xdf(X, WIN) +//spectral_xdf(X, WIN, B) +//Parameters +//X: Data Vector +//WIN: Window names +//B: Bandwidth +//Description +//Return the spectral density estimator given a data vector X, window name WIN, and bandwidth, B. +//The window name, e.g., "triangle" or "rectangle" is used to search for a function called 'WIN_lw'. +//If WIN is omitted, the triangle window is used. +//If B is omitted, '1 / sqrt (length (X))' is used. funcprot(0); rhs= argn(2); if(rhs<1 | rhs>3) diff --git a/macros/spencer.bin b/macros/spencer.bin index 4808d26..53deb07 100644 Binary files a/macros/spencer.bin and b/macros/spencer.bin differ diff --git a/macros/spencer.sci b/macros/spencer.sci index 537ca8a..63a1b83 100644 --- a/macros/spencer.sci +++ b/macros/spencer.sci @@ -1,5 +1,11 @@ function y= spencer(x) - +//Return Spencer's 15 point moving average of each column of X. +//Calling Sequence +//spencer(X) +//Parameters +//X: Real scalar or vector +//Description +//Return Spencer's 15 point moving average of each column of X. funcprot(0); rhs= argn(2); diff --git a/macros/stft.bin b/macros/stft.bin index 6766353..41aace3 100644 Binary files a/macros/stft.bin and b/macros/stft.bin differ diff --git a/macros/stft.sci b/macros/stft.sci index 01d8f9b..7c30360 100644 --- a/macros/stft.sci +++ b/macros/stft.sci @@ -1,4 +1,39 @@ function [y,c]= stft(x, varargin) +//Compute the short-time Fourier transform of the vector X +//Calling Sequence +//Y = stft (X) +//Y = stft (X, WIN_SIZE) +//Y = stft (X, WIN_SIZE, INC) +//Y = stft (X, WIN_SIZE, INC, NUM_COEF) +//Y = stft (X, WIN_SIZE, INC, NUM_COEF, WIN_TYPE) +//[Y,C] = stft (X) +//[Y,C] = stft (X, WIN_SIZE) +//[Y,C] = stft (X, WIN_SIZE, INC) +//[Y,C] = stft (X, WIN_SIZE, INC, NUM_COEF) +//[Y,C] = stft (X, WIN_SIZE, INC, NUM_COEF, WIN_TYPE) +//Parameters +//X: Real scalar or vector +//WIN_SIZE: Size of the window used +//INC: Increment +//WIN_TYPE: Type of window +//Description +//Compute the short-time Fourier transform of the vector X with NUM_COEF coefficients by applying a window of WIN_SIZE data points and an increment of INC points. +// +//Before computing the Fourier transform, one of the following windows is applied: +// +//"hanning" -> win_type = 1 +// +//"hamming" -> win_type = 2 +// +//"rectangle" -> win_type = 3 +// +//The window names can be passed as strings or by the WIN_TYPE number. +// +//The following defaults are used for unspecified arguments:WIN_SIZE= 80, INC = 24, NUM_COEF = 64, and WIN_TYPE = 1. +// +//Y = stft (X, ...)' returns the absolute values of the Fourier coefficients according to the NUM_COEF positive frequencies. +// +//'[Y, C] = stft (x, ...)' returns the entire STFT-matrix Y and a 3-element vector C containing the window size, increment, and window type, which is needed by the 'synthesis' function. funcprot(0); lhs= argn(1); diff --git a/macros/synthesis.bin b/macros/synthesis.bin index e9730e4..b9124a3 100644 Binary files a/macros/synthesis.bin and b/macros/synthesis.bin differ diff --git a/macros/synthesis.sci b/macros/synthesis.sci index e787c86..7224686 100644 --- a/macros/synthesis.sci +++ b/macros/synthesis.sci @@ -1,5 +1,14 @@ function x= synthesis(Y,C) - +//Compute a signal from its short-time Fourier transform +//Calling Sequence +//X= synthesis(Y,C) +//Parameters +//Y: Shirt-time fourier transform +//C: 3-element vector C specifying window size, increment, window type. +//Description +//Compute a signal from its short-time Fourier transform Y and a 3-element vector C specifying window size, increment, and window type. +//The values Y and C can be derived by +//[Y, C] = stft (X , ...) funcprot(0); lhs= argn(1); rhs= argn(2); diff --git a/macros/yulewalker.bin b/macros/yulewalker.bin index 388c88b..9af6286 100644 Binary files a/macros/yulewalker.bin and b/macros/yulewalker.bin differ diff --git a/macros/yulewalker.sci b/macros/yulewalker.sci index ebcb8aa..40fcadb 100644 --- a/macros/yulewalker.sci +++ b/macros/yulewalker.sci @@ -1,5 +1,13 @@ function [A,V]= yulewalker(C) - +// Fit an AR (p)-model with Yule-Walker estimates given a vector C of autocovariances '[gamma_0, ..., gamma_p]'. +//Calling Sequence +//A = yulewalker(C) +//[A,V]= yulewalker(C) +//Parameters +//C: Autocovariances +//Description +//Fit an AR (p)-model with Yule-Walker estimates given a vector C of autocovariances '[gamma_0, ..., gamma_p]'. +//Returns the AR coefficients, A, and the variance of white noise, V. funcprot(0); lhs=argn(1); rhs= argn(2); -- cgit From ff8b1285a880cc28c68d8b224b20b8ccff8e5422 Mon Sep 17 00:00:00 2001 From: abhinavdronamraju Date: Fri, 24 Nov 2017 23:38:41 +0530 Subject: Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76d5777..eb21bc2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # FOSSEE-Signal-Processing-Toolbox -Scilab toolbox for signal processing and digital signal processing +Scilab toolbox for signal processing and digital signal processing. + +## Dependencies +Scilab-octave interface : http://scilab.in/scilab_toolbox/download_codes/FOSSEE_Scilab_Octave_Interface_Toolbox.tar.gz + +## How to use +1. Download and extract the dependancy listed above and put it in a location of your choice. +2. Clone this repo as it is and put it in the same folder as the dependancy folder. +3. Go to scilab-octave interface folder, execute the loader.sce using `exec loader.sce`. +4. Go to the signal processing folder, execute the builder.sce using `exec builder.sce`. +5. Execute loader.sce using `exec loader.sce` and start using the functions in the toolbox. +6. Steps 3,4,5 should be repeated everytime you restart the scilab to load everything again. -- cgit From 2bb28947f9736c1c65dd338bf1bc8fcc2570b22d Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Mon, 27 Nov 2017 15:08:47 +0530 Subject: Added functions --- help/en_US/ifwht.xml | 44 ++++++++++++++++++++- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 12852 -> 12892 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1714 -> 1714 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 828 -> 828 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 54786 -> 55172 bytes jar/scilab_en_US_help.jar | Bin 380138 -> 381137 bytes macros/ac2poly.bin | Bin 4088 -> 0 bytes macros/ac2rc.bin | Bin 4784 -> 0 bytes macros/arParEst.bin | Bin 8568 -> 0 bytes macros/arburg.bin | Bin 8912 -> 0 bytes macros/arcov.bin | Bin 3768 -> 0 bytes macros/armcov.bin | Bin 1856 -> 0 bytes macros/aryule.bin | Bin 4604 -> 0 bytes macros/barthannwin.bin | Bin 2764 -> 0 bytes macros/bartlett.bin | Bin 4428 -> 0 bytes macros/besselap.bin | Bin 4340 -> 0 bytes macros/besself.bin | Bin 8972 -> 0 bytes macros/bitrevorder.bin | Bin 2920 -> 0 bytes macros/blackman.bin | Bin 8188 -> 0 bytes macros/blackmanharris.bin | Bin 4300 -> 0 bytes macros/blackmannuttall.bin | Bin 4312 -> 0 bytes macros/bohmanwin.bin | Bin 2548 -> 0 bytes macros/boxcar.bin | Bin 2568 -> 0 bytes macros/buffer.bin | Bin 6876 -> 0 bytes macros/buttap.bin | Bin 4104 -> 0 bytes macros/butter.bin | Bin 10144 -> 0 bytes macros/buttord.bin | Bin 6968 -> 0 bytes macros/cceps.bin | Bin 1332 -> 0 bytes macros/cconv.bin | Bin 7392 -> 0 bytes macros/cell2sos.bin | Bin 10336 -> 0 bytes macros/cheb.bin | Bin 3404 -> 0 bytes macros/cheb1ap.bin | Bin 5508 -> 0 bytes macros/cheb1ord.bin | Bin 7028 -> 0 bytes macros/cheb2ap.bin | Bin 4056 -> 0 bytes macros/cheb2ord.bin | Bin 7092 -> 0 bytes macros/chebwin.bin | Bin 3908 -> 0 bytes macros/cheby1.bin | Bin 11136 -> 0 bytes macros/cheby2.bin | Bin 11164 -> 0 bytes macros/check.bin | Bin 476 -> 0 bytes macros/chirp.bin | Bin 7252 -> 0 bytes macros/clustersegment.bin | Bin 4108 -> 0 bytes macros/cmorwavf.bin | Bin 3696 -> 0 bytes macros/convmtx.bin | Bin 2884 -> 0 bytes macros/corrmtx.bin | Bin 20444 -> 0 bytes macros/cplxreal.bin | Bin 5940 -> 0 bytes macros/cummax.bin | Bin 22500 -> 0 bytes macros/cummin.bin | Bin 23096 -> 0 bytes macros/czt.bin | Bin 5236 -> 0 bytes macros/db.bin | Bin 22844 -> 0 bytes macros/db2pow.bin | Bin 3012 -> 0 bytes macros/dctmtx.bin | Bin 3448 -> 0 bytes macros/decimate.bin | Bin 4888 -> 0 bytes macros/detrend1.sci | 12 ++++++ macros/dftmtx.bin | Bin 3464 -> 0 bytes macros/diffpara.sci | 33 ++++++++++++++++ macros/diric.bin | Bin 2524 -> 0 bytes macros/downsample.bin | Bin 4204 -> 0 bytes macros/dst1.bin | Bin 3184 -> 0 bytes macros/durbinlevinson.sci | 14 +++++++ macros/dutycycle.bin | Bin 65420 -> 0 bytes macros/ellip.bin | Bin 12252 -> 0 bytes macros/ellipap.bin | Bin 5264 -> 0 bytes macros/ellipord.bin | Bin 7156 -> 0 bytes macros/enbw.bin | Bin 5076 -> 0 bytes macros/eqtflength.bin | Bin 4864 -> 0 bytes macros/falltime.bin | Bin 57524 -> 0 bytes macros/fft.bin | Bin 6080 -> 0 bytes macros/fft2.bin | Bin 5292 -> 0 bytes macros/fftfilt.bin | Bin 25776 -> 0 bytes macros/fftshift1.sci | 12 ++++++ macros/fht.bin | Bin 1584 -> 0 bytes macros/filternorm.bin | Bin 18100 -> 0 bytes macros/filtfilt.bin | Bin 3720 -> 0 bytes macros/filtic.bin | Bin 4640 -> 0 bytes macros/filtord.bin | Bin 8580 -> 0 bytes macros/firpmord.bin | Bin 33892 -> 0 bytes macros/firtype.bin | Bin 3900 -> 0 bytes macros/flattopwin.bin | Bin 5388 -> 0 bytes macros/fracshift.bin | Bin 4636 -> 0 bytes macros/fractdiff.sci | 11 ++++++ macros/freqs.bin | Bin 3628 -> 0 bytes macros/freqs.sci | 2 +- macros/fwhm.bin | Bin 6544 -> 0 bytes macros/fwhmjlt.bin | Bin 2412 -> 0 bytes macros/fwht.bin | Bin 6256 -> 0 bytes macros/gauspuls.bin | Bin 3792 -> 0 bytes macros/gaussdesign.bin | Bin 15776 -> 0 bytes macros/gaussian.bin | Bin 4004 -> 0 bytes macros/gausswin.bin | Bin 3988 -> 0 bytes macros/gmonopuls.bin | Bin 3160 -> 0 bytes macros/goertzel.bin | Bin 13476 -> 0 bytes macros/grpdelay.bin | Bin 7960 -> 0 bytes macros/hamming.sci | 14 +++++++ macros/hann.bin | Bin 4488 -> 0 bytes macros/hanning.bin | Bin 1368 -> 0 bytes macros/hanning.sci | 1 + macros/helperHarmonicDistortionAmplifier.bin | Bin 3304 -> 0 bytes macros/hilbert1.bin | Bin 5696 -> 0 bytes macros/hurst.bin | Bin 2432 -> 0 bytes macros/icceps.bin | Bin 5604 -> 0 bytes macros/idct1.bin | Bin 1308 -> 0 bytes macros/idct2.bin | Bin 1676 -> 0 bytes macros/idst1.bin | Bin 1340 -> 0 bytes macros/ifft.bin | Bin 6476 -> 0 bytes macros/ifft2.bin | Bin 6016 -> 0 bytes macros/ifftshift1.sci | 12 ++++++ macros/ifht.bin | Bin 5396 -> 0 bytes macros/ifwht.bin | Bin 1684 -> 0 bytes macros/ifwht.sci | 23 +++++++++++ macros/iirlp2mb.bin | Bin 6892 -> 0 bytes macros/impinvar.bin | Bin 5392 -> 0 bytes macros/impz.bin | Bin 4780 -> 0 bytes macros/impzlength.bin | Bin 29200 -> 0 bytes macros/interp.bin | Bin 4924 -> 0 bytes macros/intfilt.bin | Bin 31572 -> 0 bytes macros/invfreq.bin | Bin 7048 -> 0 bytes macros/invimpinvar.bin | Bin 5660 -> 0 bytes macros/is2rc.bin | Bin 4088 -> 0 bytes macros/isallpass.bin | Bin 17432 -> 0 bytes macros/isfir.bin | Bin 6172 -> 0 bytes macros/islinphase.bin | Bin 14592 -> 0 bytes macros/ismaxphase.bin | Bin 8576 -> 0 bytes macros/isminphase.bin | Bin 8648 -> 0 bytes macros/isstable.bin | Bin 9400 -> 0 bytes macros/kaiser.bin | Bin 3968 -> 0 bytes macros/lar2rc.bin | Bin 3756 -> 0 bytes macros/latc2tf.bin | Bin 24820 -> 0 bytes macros/latcfilt.bin | Bin 13240 -> 0 bytes macros/latcfilt1.bin | Bin 4664 -> 0 bytes macros/levdown.bin | Bin 1436 -> 0 bytes macros/levin.bin | Bin 6200 -> 0 bytes macros/levinson.bin | Bin 9180 -> 0 bytes macros/lib | Bin 6120 -> 6288 bytes macros/lpc.bin | Bin 21268 -> 0 bytes macros/lsf2poly.bin | Bin 8420 -> 0 bytes macros/mag2db.bin | Bin 1476 -> 0 bytes macros/marcumq.bin | Bin 5440 -> 0 bytes macros/medfilt1.bin | Bin 43316 -> 0 bytes macros/mexihat.bin | Bin 3312 -> 0 bytes macros/meyeraux.bin | Bin 2680 -> 0 bytes macros/midcross.bin | Bin 59888 -> 0 bytes macros/modulate.bin | Bin 29888 -> 0 bytes macros/morlet.bin | Bin 3412 -> 0 bytes macros/movingrms.bin | Bin 4524 -> 0 bytes macros/musicBase.bin | Bin 22512 -> 0 bytes macros/names | 7 ++++ macros/ncauer.bin | Bin 5372 -> 0 bytes macros/nnls.bin | Bin 7612 -> 0 bytes macros/nuttallwin.bin | Bin 4108 -> 0 bytes macros/parzenwin.bin | Bin 2512 -> 0 bytes macros/pchip.bin | Bin 16320 -> 0 bytes macros/pchips.bin | Bin 8524 -> 0 bytes macros/peak2peak.bin | Bin 14012 -> 0 bytes macros/peak2rms.bin | Bin 15378 -> 0 bytes macros/pei_tseng_notch.bin | Bin 5436 -> 0 bytes macros/peig.bin | Bin 27724 -> 0 bytes macros/periodogram.bin | Bin 2392 -> 0 bytes macros/phaseInputParseAs_ab.bin | Bin 16256 -> 0 bytes macros/phaseInputParseAs_sos.bin | Bin 14480 -> 0 bytes macros/phasedelay.bin | Bin 15784 -> 0 bytes macros/phasez.bin | Bin 12092 -> 0 bytes macros/pmusic.bin | Bin 30784 -> 0 bytes macros/poly2ac.bin | Bin 5492 -> 0 bytes macros/poly2lsf.bin | Bin 12052 -> 0 bytes macros/poly2rc.bin | Bin 7644 -> 0 bytes macros/polyscale.bin | Bin 1352 -> 0 bytes macros/polystab.bin | Bin 2372 -> 0 bytes macros/polyval.bin | Bin 10356 -> 0 bytes macros/pow2db.bin | Bin 2544 -> 0 bytes macros/primitive.bin | Bin 3912 -> 0 bytes macros/prony.bin | Bin 3836 -> 0 bytes macros/pulseperiod.bin | Bin 63340 -> 0 bytes macros/pulsesep.bin | Bin 62568 -> 0 bytes macros/pulsewidth.bin | Bin 59276 -> 0 bytes macros/pulstran.bin | Bin 6000 -> 0 bytes macros/rc2ac.bin | Bin 4936 -> 0 bytes macros/rc2is.bin | Bin 6072 -> 0 bytes macros/rc2lar.bin | Bin 3260 -> 0 bytes macros/rc2poly.bin | Bin 5668 -> 0 bytes macros/rceps.bin | Bin 4772 -> 0 bytes macros/rcosdesign.bin | Bin 24832 -> 0 bytes macros/rectpuls.bin | Bin 3744 -> 0 bytes macros/rectwin.bin | Bin 2468 -> 0 bytes macros/remez1.bin | Bin 5248 -> 0 bytes macros/remez1.sci | 2 +- macros/resample.bin | Bin 5912 -> 0 bytes macros/residued.bin | Bin 4432 -> 0 bytes macros/residuez.bin | Bin 3692 -> 0 bytes macros/risetime.bin | Bin 57484 -> 0 bytes macros/rlevinson.bin | Bin 15408 -> 0 bytes macros/rms.bin | Bin 2856 -> 0 bytes macros/rooteig.bin | Bin 39372 -> 0 bytes macros/rootmusic.bin | Bin 39616 -> 0 bytes macros/rssq.bin | Bin 9540 -> 0 bytes macros/sampled2continuous.bin | Bin 3324 -> 0 bytes macros/sawtooth.bin | Bin 3656 -> 0 bytes macros/schtrig.bin | Bin 3696 -> 0 bytes macros/schurrc.bin | Bin 6100 -> 0 bytes macros/seqperiod.bin | Bin 9968 -> 0 bytes macros/sgolay.bin | Bin 4648 -> 0 bytes macros/sgolayfilt.bin | Bin 7028 -> 0 bytes macros/shanwavf.bin | Bin 5360 -> 0 bytes macros/shiftdata.bin | Bin 7156 -> 0 bytes macros/sigmoid_train.bin | Bin 1208 -> 0 bytes macros/sinetone.bin | Bin 4176 -> 0 bytes macros/sinewave.bin | Bin 3192 -> 0 bytes macros/slewrate.bin | Bin 57676 -> 0 bytes macros/sos2cell.bin | Bin 10944 -> 0 bytes macros/sos2ss.bin | Bin 6896 -> 0 bytes macros/sos2tf.bin | Bin 3880 -> 0 bytes macros/sos2zp.bin | Bin 4964 -> 0 bytes macros/sosbreak.bin | Bin 4340 -> 0 bytes macros/sosfilt.bin | Bin 2576 -> 0 bytes macros/specgram.bin | Bin 2692 -> 0 bytes macros/spectral_adf.bin | Bin 4156 -> 0 bytes macros/spectral_xdf.bin | Bin 4024 -> 0 bytes macros/spencer.bin | Bin 1928 -> 0 bytes macros/ss2sos.bin | Bin 12568 -> 0 bytes macros/statelevels.bin | Bin 38016 -> 0 bytes macros/stft.bin | Bin 11092 -> 0 bytes macros/stmcb.bin | Bin 8140 -> 0 bytes macros/strips.bin | Bin 17232 -> 0 bytes macros/subspaceMethodsInputParser.bin | Bin 38972 -> 0 bytes macros/synthesis.bin | Bin 2972 -> 0 bytes macros/tf2sos.bin | Bin 4912 -> 0 bytes macros/tf2zp.bin | Bin 7056 -> 0 bytes macros/tf2zpk.bin | Bin 944 -> 0 bytes macros/transpose.bin | Bin 404 -> 0 bytes macros/trial_iirlp2mb.bin | Bin 4224 -> 0 bytes macros/triang.bin | Bin 2748 -> 0 bytes macros/tripuls.bin | Bin 4540 -> 0 bytes macros/truth.bin | Bin 240 -> 0 bytes macros/tukeywin.bin | Bin 3748 -> 0 bytes macros/udecode.bin | Bin 10412 -> 0 bytes macros/uencode.bin | Bin 12728 -> 0 bytes macros/ultrwin.bin | Bin 6664 -> 0 bytes macros/unshiftdata.bin | Bin 6916 -> 0 bytes macros/upfirdn.bin | Bin 2776 -> 0 bytes macros/upsample.bin | Bin 4128 -> 0 bytes macros/upsamplefill.bin | Bin 4524 -> 0 bytes macros/var.bin | Bin 22564 -> 0 bytes macros/vco.bin | Bin 7248 -> 0 bytes macros/wconv.bin | Bin 3416 -> 0 bytes macros/welchwin.bin | Bin 4408 -> 0 bytes macros/window.bin | Bin 3804 -> 0 bytes macros/wkeep.bin | Bin 3804 -> 0 bytes macros/wrev.bin | Bin 2264 -> 0 bytes macros/xcorr2.bin | Bin 2496 -> 0 bytes macros/xcov1.bin | Bin 1708 -> 0 bytes macros/yulewalker.bin | Bin 3552 -> 0 bytes macros/zerocrossing.bin | Bin 2284 -> 0 bytes macros/zp2sos.bin | Bin 6280 -> 0 bytes macros/zp2ss.bin | Bin 5916 -> 0 bytes macros/zp2tf.bin | Bin 4116 -> 0 bytes macros/zplane.bin | Bin 1328 -> 0 bytes 255 files changed, 184 insertions(+), 3 deletions(-) delete mode 100644 macros/ac2poly.bin delete mode 100644 macros/ac2rc.bin delete mode 100644 macros/arParEst.bin delete mode 100644 macros/arburg.bin delete mode 100644 macros/arcov.bin delete mode 100644 macros/armcov.bin delete mode 100644 macros/aryule.bin delete mode 100644 macros/barthannwin.bin delete mode 100644 macros/bartlett.bin delete mode 100644 macros/besselap.bin delete mode 100644 macros/besself.bin delete mode 100644 macros/bitrevorder.bin delete mode 100644 macros/blackman.bin delete mode 100644 macros/blackmanharris.bin delete mode 100644 macros/blackmannuttall.bin delete mode 100644 macros/bohmanwin.bin delete mode 100644 macros/boxcar.bin delete mode 100644 macros/buffer.bin delete mode 100644 macros/buttap.bin delete mode 100644 macros/butter.bin delete mode 100644 macros/buttord.bin delete mode 100644 macros/cceps.bin delete mode 100644 macros/cconv.bin delete mode 100644 macros/cell2sos.bin delete mode 100644 macros/cheb.bin delete mode 100644 macros/cheb1ap.bin delete mode 100644 macros/cheb1ord.bin delete mode 100644 macros/cheb2ap.bin delete mode 100644 macros/cheb2ord.bin delete mode 100644 macros/chebwin.bin delete mode 100644 macros/cheby1.bin delete mode 100644 macros/cheby2.bin delete mode 100644 macros/check.bin delete mode 100644 macros/chirp.bin delete mode 100644 macros/clustersegment.bin delete mode 100644 macros/cmorwavf.bin delete mode 100644 macros/convmtx.bin delete mode 100644 macros/corrmtx.bin delete mode 100644 macros/cplxreal.bin delete mode 100644 macros/cummax.bin delete mode 100644 macros/cummin.bin delete mode 100644 macros/czt.bin delete mode 100644 macros/db.bin delete mode 100644 macros/db2pow.bin delete mode 100644 macros/dctmtx.bin delete mode 100644 macros/decimate.bin create mode 100644 macros/detrend1.sci delete mode 100644 macros/dftmtx.bin create mode 100644 macros/diffpara.sci delete mode 100644 macros/diric.bin delete mode 100644 macros/downsample.bin delete mode 100644 macros/dst1.bin create mode 100644 macros/durbinlevinson.sci delete mode 100644 macros/dutycycle.bin delete mode 100644 macros/ellip.bin delete mode 100644 macros/ellipap.bin delete mode 100644 macros/ellipord.bin delete mode 100644 macros/enbw.bin delete mode 100644 macros/eqtflength.bin delete mode 100644 macros/falltime.bin delete mode 100644 macros/fft.bin delete mode 100644 macros/fft2.bin delete mode 100644 macros/fftfilt.bin create mode 100644 macros/fftshift1.sci delete mode 100644 macros/fht.bin delete mode 100644 macros/filternorm.bin delete mode 100644 macros/filtfilt.bin delete mode 100644 macros/filtic.bin delete mode 100644 macros/filtord.bin delete mode 100644 macros/firpmord.bin delete mode 100644 macros/firtype.bin delete mode 100644 macros/flattopwin.bin delete mode 100644 macros/fracshift.bin create mode 100644 macros/fractdiff.sci delete mode 100644 macros/freqs.bin delete mode 100644 macros/fwhm.bin delete mode 100644 macros/fwhmjlt.bin delete mode 100644 macros/fwht.bin delete mode 100644 macros/gauspuls.bin delete mode 100644 macros/gaussdesign.bin delete mode 100644 macros/gaussian.bin delete mode 100644 macros/gausswin.bin delete mode 100644 macros/gmonopuls.bin delete mode 100644 macros/goertzel.bin delete mode 100644 macros/grpdelay.bin create mode 100644 macros/hamming.sci delete mode 100644 macros/hann.bin delete mode 100644 macros/hanning.bin delete mode 100644 macros/helperHarmonicDistortionAmplifier.bin delete mode 100644 macros/hilbert1.bin delete mode 100644 macros/hurst.bin delete mode 100644 macros/icceps.bin delete mode 100644 macros/idct1.bin delete mode 100644 macros/idct2.bin delete mode 100644 macros/idst1.bin delete mode 100644 macros/ifft.bin delete mode 100644 macros/ifft2.bin create mode 100644 macros/ifftshift1.sci delete mode 100644 macros/ifht.bin delete mode 100644 macros/ifwht.bin delete mode 100644 macros/iirlp2mb.bin delete mode 100644 macros/impinvar.bin delete mode 100644 macros/impz.bin delete mode 100644 macros/impzlength.bin delete mode 100644 macros/interp.bin delete mode 100644 macros/intfilt.bin delete mode 100644 macros/invfreq.bin delete mode 100644 macros/invimpinvar.bin delete mode 100644 macros/is2rc.bin delete mode 100644 macros/isallpass.bin delete mode 100644 macros/isfir.bin delete mode 100644 macros/islinphase.bin delete mode 100644 macros/ismaxphase.bin delete mode 100644 macros/isminphase.bin delete mode 100644 macros/isstable.bin delete mode 100644 macros/kaiser.bin delete mode 100644 macros/lar2rc.bin delete mode 100644 macros/latc2tf.bin delete mode 100644 macros/latcfilt.bin delete mode 100644 macros/latcfilt1.bin delete mode 100644 macros/levdown.bin delete mode 100644 macros/levin.bin delete mode 100644 macros/levinson.bin delete mode 100644 macros/lpc.bin delete mode 100644 macros/lsf2poly.bin delete mode 100644 macros/mag2db.bin delete mode 100644 macros/marcumq.bin delete mode 100644 macros/medfilt1.bin delete mode 100644 macros/mexihat.bin delete mode 100644 macros/meyeraux.bin delete mode 100644 macros/midcross.bin delete mode 100644 macros/modulate.bin delete mode 100644 macros/morlet.bin delete mode 100644 macros/movingrms.bin delete mode 100644 macros/musicBase.bin delete mode 100644 macros/ncauer.bin delete mode 100644 macros/nnls.bin delete mode 100644 macros/nuttallwin.bin delete mode 100644 macros/parzenwin.bin delete mode 100644 macros/pchip.bin delete mode 100644 macros/pchips.bin delete mode 100644 macros/peak2peak.bin delete mode 100644 macros/peak2rms.bin delete mode 100644 macros/pei_tseng_notch.bin delete mode 100644 macros/peig.bin delete mode 100644 macros/periodogram.bin delete mode 100644 macros/phaseInputParseAs_ab.bin delete mode 100644 macros/phaseInputParseAs_sos.bin delete mode 100644 macros/phasedelay.bin delete mode 100644 macros/phasez.bin delete mode 100644 macros/pmusic.bin delete mode 100644 macros/poly2ac.bin delete mode 100644 macros/poly2lsf.bin delete mode 100644 macros/poly2rc.bin delete mode 100644 macros/polyscale.bin delete mode 100644 macros/polystab.bin delete mode 100644 macros/polyval.bin delete mode 100644 macros/pow2db.bin delete mode 100644 macros/primitive.bin delete mode 100644 macros/prony.bin delete mode 100644 macros/pulseperiod.bin delete mode 100644 macros/pulsesep.bin delete mode 100644 macros/pulsewidth.bin delete mode 100644 macros/pulstran.bin delete mode 100644 macros/rc2ac.bin delete mode 100644 macros/rc2is.bin delete mode 100644 macros/rc2lar.bin delete mode 100644 macros/rc2poly.bin delete mode 100644 macros/rceps.bin delete mode 100644 macros/rcosdesign.bin delete mode 100644 macros/rectpuls.bin delete mode 100644 macros/rectwin.bin delete mode 100644 macros/remez1.bin delete mode 100644 macros/resample.bin delete mode 100644 macros/residued.bin delete mode 100644 macros/residuez.bin delete mode 100644 macros/risetime.bin delete mode 100644 macros/rlevinson.bin delete mode 100644 macros/rms.bin delete mode 100644 macros/rooteig.bin delete mode 100644 macros/rootmusic.bin delete mode 100644 macros/rssq.bin delete mode 100644 macros/sampled2continuous.bin delete mode 100644 macros/sawtooth.bin delete mode 100644 macros/schtrig.bin delete mode 100644 macros/schurrc.bin delete mode 100644 macros/seqperiod.bin delete mode 100644 macros/sgolay.bin delete mode 100644 macros/sgolayfilt.bin delete mode 100644 macros/shanwavf.bin delete mode 100644 macros/shiftdata.bin delete mode 100644 macros/sigmoid_train.bin delete mode 100644 macros/sinetone.bin delete mode 100644 macros/sinewave.bin delete mode 100644 macros/slewrate.bin delete mode 100644 macros/sos2cell.bin delete mode 100644 macros/sos2ss.bin delete mode 100644 macros/sos2tf.bin delete mode 100644 macros/sos2zp.bin delete mode 100644 macros/sosbreak.bin delete mode 100644 macros/sosfilt.bin delete mode 100644 macros/specgram.bin delete mode 100644 macros/spectral_adf.bin delete mode 100644 macros/spectral_xdf.bin delete mode 100644 macros/spencer.bin delete mode 100644 macros/ss2sos.bin delete mode 100644 macros/statelevels.bin delete mode 100644 macros/stft.bin delete mode 100644 macros/stmcb.bin delete mode 100644 macros/strips.bin delete mode 100644 macros/subspaceMethodsInputParser.bin delete mode 100644 macros/synthesis.bin delete mode 100644 macros/tf2sos.bin delete mode 100644 macros/tf2zp.bin delete mode 100644 macros/tf2zpk.bin delete mode 100644 macros/transpose.bin delete mode 100644 macros/trial_iirlp2mb.bin delete mode 100644 macros/triang.bin delete mode 100644 macros/tripuls.bin delete mode 100644 macros/truth.bin delete mode 100644 macros/tukeywin.bin delete mode 100644 macros/udecode.bin delete mode 100644 macros/uencode.bin delete mode 100644 macros/ultrwin.bin delete mode 100644 macros/unshiftdata.bin delete mode 100644 macros/upfirdn.bin delete mode 100644 macros/upsample.bin delete mode 100644 macros/upsamplefill.bin delete mode 100644 macros/var.bin delete mode 100644 macros/vco.bin delete mode 100644 macros/wconv.bin delete mode 100644 macros/welchwin.bin delete mode 100644 macros/window.bin delete mode 100644 macros/wkeep.bin delete mode 100644 macros/wrev.bin delete mode 100644 macros/xcorr2.bin delete mode 100644 macros/xcov1.bin delete mode 100644 macros/yulewalker.bin delete mode 100644 macros/zerocrossing.bin delete mode 100644 macros/zp2sos.bin delete mode 100644 macros/zp2ss.bin delete mode 100644 macros/zp2tf.bin delete mode 100644 macros/zplane.bin diff --git a/help/en_US/ifwht.xml b/help/en_US/ifwht.xml index 37903a0..c746dcd 100644 --- a/help/en_US/ifwht.xml +++ b/help/en_US/ifwht.xml @@ -17,7 +17,49 @@ ifwht - + Compute the inverse Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm + + + Calling Sequence + + ifwht (x) + ifwht (x, n) + ifwht (x, n, order) + + + + + Parameters + + x: + real or complex valued scalar or vector + n: + Input is truncated or extended to have a length of n + order: + Specifies the order in which the returned inverse Walsh-Hadamard transform + + + + + Description + +Compute the inverse Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm. If the input is a matrix, the inverse FWHT is calculated along the columns of x. +The number of elements of x must be a power of 2; if not, the input will be extended and filled with zeros. If a second argument is given, the input is truncated or extended to have length n. +The third argument specifies the order in which the returned inverse Walsh-Hadamard transform coefficients should be arranged. The order may be any of the following strings: + + +"sequency" +The coefficients are returned in sequency order. This is the default if order is not given. + + +"hadamard" +The coefficients are returned in Hadamard order. + + +"dyadic" +The coefficients are returned in Gray code order. + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 8aaa253..df5670a 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index b54d5ae..ba1c54d 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index c9aea54..7cd3a39 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 8ed5123..709b4a7 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 1d82b84..7c1232e 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ac2poly.bin b/macros/ac2poly.bin deleted file mode 100644 index 5a1a177..0000000 Binary files a/macros/ac2poly.bin and /dev/null differ diff --git a/macros/ac2rc.bin b/macros/ac2rc.bin deleted file mode 100644 index 5bb60cf..0000000 Binary files a/macros/ac2rc.bin and /dev/null differ diff --git a/macros/arParEst.bin b/macros/arParEst.bin deleted file mode 100644 index 354bcea..0000000 Binary files a/macros/arParEst.bin and /dev/null differ diff --git a/macros/arburg.bin b/macros/arburg.bin deleted file mode 100644 index d0865cb..0000000 Binary files a/macros/arburg.bin and /dev/null differ diff --git a/macros/arcov.bin b/macros/arcov.bin deleted file mode 100644 index 2c23d8e..0000000 Binary files a/macros/arcov.bin and /dev/null differ diff --git a/macros/armcov.bin b/macros/armcov.bin deleted file mode 100644 index 6465aab..0000000 Binary files a/macros/armcov.bin and /dev/null differ diff --git a/macros/aryule.bin b/macros/aryule.bin deleted file mode 100644 index 336ebf3..0000000 Binary files a/macros/aryule.bin and /dev/null differ diff --git a/macros/barthannwin.bin b/macros/barthannwin.bin deleted file mode 100644 index 1b9ed25..0000000 Binary files a/macros/barthannwin.bin and /dev/null differ diff --git a/macros/bartlett.bin b/macros/bartlett.bin deleted file mode 100644 index 373d8c0..0000000 Binary files a/macros/bartlett.bin and /dev/null differ diff --git a/macros/besselap.bin b/macros/besselap.bin deleted file mode 100644 index 9794042..0000000 Binary files a/macros/besselap.bin and /dev/null differ diff --git a/macros/besself.bin b/macros/besself.bin deleted file mode 100644 index 69dbfd2..0000000 Binary files a/macros/besself.bin and /dev/null differ diff --git a/macros/bitrevorder.bin b/macros/bitrevorder.bin deleted file mode 100644 index f167fa0..0000000 Binary files a/macros/bitrevorder.bin and /dev/null differ diff --git a/macros/blackman.bin b/macros/blackman.bin deleted file mode 100644 index 020909f..0000000 Binary files a/macros/blackman.bin and /dev/null differ diff --git a/macros/blackmanharris.bin b/macros/blackmanharris.bin deleted file mode 100644 index c9760f6..0000000 Binary files a/macros/blackmanharris.bin and /dev/null differ diff --git a/macros/blackmannuttall.bin b/macros/blackmannuttall.bin deleted file mode 100644 index f242bc0..0000000 Binary files a/macros/blackmannuttall.bin and /dev/null differ diff --git a/macros/bohmanwin.bin b/macros/bohmanwin.bin deleted file mode 100644 index 53ea3a9..0000000 Binary files a/macros/bohmanwin.bin and /dev/null differ diff --git a/macros/boxcar.bin b/macros/boxcar.bin deleted file mode 100644 index 9f129da..0000000 Binary files a/macros/boxcar.bin and /dev/null differ diff --git a/macros/buffer.bin b/macros/buffer.bin deleted file mode 100644 index 7cb0a77..0000000 Binary files a/macros/buffer.bin and /dev/null differ diff --git a/macros/buttap.bin b/macros/buttap.bin deleted file mode 100644 index 10ce21e..0000000 Binary files a/macros/buttap.bin and /dev/null differ diff --git a/macros/butter.bin b/macros/butter.bin deleted file mode 100644 index 1ed2eaf..0000000 Binary files a/macros/butter.bin and /dev/null differ diff --git a/macros/buttord.bin b/macros/buttord.bin deleted file mode 100644 index a6cdc9c..0000000 Binary files a/macros/buttord.bin and /dev/null differ diff --git a/macros/cceps.bin b/macros/cceps.bin deleted file mode 100644 index cda9e36..0000000 Binary files a/macros/cceps.bin and /dev/null differ diff --git a/macros/cconv.bin b/macros/cconv.bin deleted file mode 100644 index 977d0b2..0000000 Binary files a/macros/cconv.bin and /dev/null differ diff --git a/macros/cell2sos.bin b/macros/cell2sos.bin deleted file mode 100644 index becc9e0..0000000 Binary files a/macros/cell2sos.bin and /dev/null differ diff --git a/macros/cheb.bin b/macros/cheb.bin deleted file mode 100644 index 28632eb..0000000 Binary files a/macros/cheb.bin and /dev/null differ diff --git a/macros/cheb1ap.bin b/macros/cheb1ap.bin deleted file mode 100644 index 7414b4a..0000000 Binary files a/macros/cheb1ap.bin and /dev/null differ diff --git a/macros/cheb1ord.bin b/macros/cheb1ord.bin deleted file mode 100644 index 7cf442d..0000000 Binary files a/macros/cheb1ord.bin and /dev/null differ diff --git a/macros/cheb2ap.bin b/macros/cheb2ap.bin deleted file mode 100644 index 558a95b..0000000 Binary files a/macros/cheb2ap.bin and /dev/null differ diff --git a/macros/cheb2ord.bin b/macros/cheb2ord.bin deleted file mode 100644 index b1602ec..0000000 Binary files a/macros/cheb2ord.bin and /dev/null differ diff --git a/macros/chebwin.bin b/macros/chebwin.bin deleted file mode 100644 index cd27563..0000000 Binary files a/macros/chebwin.bin and /dev/null differ diff --git a/macros/cheby1.bin b/macros/cheby1.bin deleted file mode 100644 index 5fff1f3..0000000 Binary files a/macros/cheby1.bin and /dev/null differ diff --git a/macros/cheby2.bin b/macros/cheby2.bin deleted file mode 100644 index f68fe52..0000000 Binary files a/macros/cheby2.bin and /dev/null differ diff --git a/macros/check.bin b/macros/check.bin deleted file mode 100644 index 678d4a0..0000000 Binary files a/macros/check.bin and /dev/null differ diff --git a/macros/chirp.bin b/macros/chirp.bin deleted file mode 100644 index 4251c53..0000000 Binary files a/macros/chirp.bin and /dev/null differ diff --git a/macros/clustersegment.bin b/macros/clustersegment.bin deleted file mode 100644 index fc1d371..0000000 Binary files a/macros/clustersegment.bin and /dev/null differ diff --git a/macros/cmorwavf.bin b/macros/cmorwavf.bin deleted file mode 100644 index ecaa435..0000000 Binary files a/macros/cmorwavf.bin and /dev/null differ diff --git a/macros/convmtx.bin b/macros/convmtx.bin deleted file mode 100644 index 1925e20..0000000 Binary files a/macros/convmtx.bin and /dev/null differ diff --git a/macros/corrmtx.bin b/macros/corrmtx.bin deleted file mode 100644 index 1a11222..0000000 Binary files a/macros/corrmtx.bin and /dev/null differ diff --git a/macros/cplxreal.bin b/macros/cplxreal.bin deleted file mode 100644 index c5c522b..0000000 Binary files a/macros/cplxreal.bin and /dev/null differ diff --git a/macros/cummax.bin b/macros/cummax.bin deleted file mode 100644 index 0dc047b..0000000 Binary files a/macros/cummax.bin and /dev/null differ diff --git a/macros/cummin.bin b/macros/cummin.bin deleted file mode 100644 index 860597d..0000000 Binary files a/macros/cummin.bin and /dev/null differ diff --git a/macros/czt.bin b/macros/czt.bin deleted file mode 100644 index 44ef120..0000000 Binary files a/macros/czt.bin and /dev/null differ diff --git a/macros/db.bin b/macros/db.bin deleted file mode 100644 index e46766c..0000000 Binary files a/macros/db.bin and /dev/null differ diff --git a/macros/db2pow.bin b/macros/db2pow.bin deleted file mode 100644 index d369ded..0000000 Binary files a/macros/db2pow.bin and /dev/null differ diff --git a/macros/dctmtx.bin b/macros/dctmtx.bin deleted file mode 100644 index 68472e5..0000000 Binary files a/macros/dctmtx.bin and /dev/null differ diff --git a/macros/decimate.bin b/macros/decimate.bin deleted file mode 100644 index ea34ac2..0000000 Binary files a/macros/decimate.bin and /dev/null differ diff --git a/macros/detrend1.sci b/macros/detrend1.sci new file mode 100644 index 0000000..b9929f4 --- /dev/null +++ b/macros/detrend1.sci @@ -0,0 +1,12 @@ +function y = detrend1(x, varargin) + rhs= argn(2); + if(rhs<1 | rhs> 2) + error("Wrong number of input arguments"); + end + select(rhs) + case 1 then + y= callOctave("detrend", x); + case 2 then + y= callOctave("detrend", x , varargin(1)); + end +endfunction diff --git a/macros/dftmtx.bin b/macros/dftmtx.bin deleted file mode 100644 index df1c875..0000000 Binary files a/macros/dftmtx.bin and /dev/null differ diff --git a/macros/diffpara.sci b/macros/diffpara.sci new file mode 100644 index 0000000..3f9e2d9 --- /dev/null +++ b/macros/diffpara.sci @@ -0,0 +1,33 @@ +function [D,DD] = diffpara(X,varargin) + lhs= argn(1); + rhs= argn(2); + if(rhs <1 | rhs> 3) + error("Wrong number of input parameters"); + end + if(lhs<1 | lhs>2) + error("Wrong number of output parameters"); + end + select(rhs) + case 1 then + select(lhs) + case 1 then + D= diffpara(X); + case 2 then + [D, DD]= diffpara(X); + end + case 2 then + select(lhs) + case 1 then + D= diffpara(X, varargin(1)); + case 2 then + [D, DD]= diffpara(X, varargin(1)); + end + case 3 then + select(lhs) + case 1 then + D= diffpara(X, varargin(1), varargin(2)); + case 2 then + [D, DD]= diffpara(X, varargin(1), varargin(2)); + end + end +endfunction diff --git a/macros/diric.bin b/macros/diric.bin deleted file mode 100644 index 47eaa34..0000000 Binary files a/macros/diric.bin and /dev/null differ diff --git a/macros/downsample.bin b/macros/downsample.bin deleted file mode 100644 index 149a5cb..0000000 Binary files a/macros/downsample.bin and /dev/null differ diff --git a/macros/dst1.bin b/macros/dst1.bin deleted file mode 100644 index 9ea31f9..0000000 Binary files a/macros/dst1.bin and /dev/null differ diff --git a/macros/durbinlevinson.sci b/macros/durbinlevinson.sci new file mode 100644 index 0000000..cd56e48 --- /dev/null +++ b/macros/durbinlevinson.sci @@ -0,0 +1,14 @@ +function y= durbinlevinson(C, varargin) + rhs=argn(2); + if(rhs<1 | rhs>3) + error("Wrong number of input arguments"); + end + select(rhs) + case 1 then + y=callOctave("durbinlevinson",C); + case 2 then + y=callOctave("durbinlevinson",C, varargin(1)); + case 3 then + y=callOctave("durbinlevinson",C, varargin(1), varargin(2)); + end +endfunction \ No newline at end of file diff --git a/macros/dutycycle.bin b/macros/dutycycle.bin deleted file mode 100644 index 710c058..0000000 Binary files a/macros/dutycycle.bin and /dev/null differ diff --git a/macros/ellip.bin b/macros/ellip.bin deleted file mode 100644 index 2fda3a0..0000000 Binary files a/macros/ellip.bin and /dev/null differ diff --git a/macros/ellipap.bin b/macros/ellipap.bin deleted file mode 100644 index da6ce2e..0000000 Binary files a/macros/ellipap.bin and /dev/null differ diff --git a/macros/ellipord.bin b/macros/ellipord.bin deleted file mode 100644 index 60fca21..0000000 Binary files a/macros/ellipord.bin and /dev/null differ diff --git a/macros/enbw.bin b/macros/enbw.bin deleted file mode 100644 index 6dabe0e..0000000 Binary files a/macros/enbw.bin and /dev/null differ diff --git a/macros/eqtflength.bin b/macros/eqtflength.bin deleted file mode 100644 index 4aa5c4b..0000000 Binary files a/macros/eqtflength.bin and /dev/null differ diff --git a/macros/falltime.bin b/macros/falltime.bin deleted file mode 100644 index 318d449..0000000 Binary files a/macros/falltime.bin and /dev/null differ diff --git a/macros/fft.bin b/macros/fft.bin deleted file mode 100644 index 088707e..0000000 Binary files a/macros/fft.bin and /dev/null differ diff --git a/macros/fft2.bin b/macros/fft2.bin deleted file mode 100644 index dd6e2cc..0000000 Binary files a/macros/fft2.bin and /dev/null differ diff --git a/macros/fftfilt.bin b/macros/fftfilt.bin deleted file mode 100644 index 4ddcc74..0000000 Binary files a/macros/fftfilt.bin and /dev/null differ diff --git a/macros/fftshift1.sci b/macros/fftshift1.sci new file mode 100644 index 0000000..2928850 --- /dev/null +++ b/macros/fftshift1.sci @@ -0,0 +1,12 @@ +function y= fftshift1(X,DIM) + rhs= argn(2); + if(rhs <1 | rhs >2) + error('Wrong number of Input arguments'); + end + select(rhs) + case 1 then + y=callOctave("fftshift",X); + case 2 then + y=callOctave("fftshift",X,DIM); + end +endfunction \ No newline at end of file diff --git a/macros/fht.bin b/macros/fht.bin deleted file mode 100644 index e97d7e4..0000000 Binary files a/macros/fht.bin and /dev/null differ diff --git a/macros/filternorm.bin b/macros/filternorm.bin deleted file mode 100644 index 8e15a18..0000000 Binary files a/macros/filternorm.bin and /dev/null differ diff --git a/macros/filtfilt.bin b/macros/filtfilt.bin deleted file mode 100644 index ada5742..0000000 Binary files a/macros/filtfilt.bin and /dev/null differ diff --git a/macros/filtic.bin b/macros/filtic.bin deleted file mode 100644 index cd79ea4..0000000 Binary files a/macros/filtic.bin and /dev/null differ diff --git a/macros/filtord.bin b/macros/filtord.bin deleted file mode 100644 index dd4f7ed..0000000 Binary files a/macros/filtord.bin and /dev/null differ diff --git a/macros/firpmord.bin b/macros/firpmord.bin deleted file mode 100644 index 8f8dddd..0000000 Binary files a/macros/firpmord.bin and /dev/null differ diff --git a/macros/firtype.bin b/macros/firtype.bin deleted file mode 100644 index 411b2de..0000000 Binary files a/macros/firtype.bin and /dev/null differ diff --git a/macros/flattopwin.bin b/macros/flattopwin.bin deleted file mode 100644 index f9795b4..0000000 Binary files a/macros/flattopwin.bin and /dev/null differ diff --git a/macros/fracshift.bin b/macros/fracshift.bin deleted file mode 100644 index 989ab10..0000000 Binary files a/macros/fracshift.bin and /dev/null differ diff --git a/macros/fractdiff.sci b/macros/fractdiff.sci new file mode 100644 index 0000000..1731dc1 --- /dev/null +++ b/macros/fractdiff.sci @@ -0,0 +1,11 @@ +function y= fractdiff(x,d) + funcprot(0); + rhs= argn(2); + if(rhs < 2 | rhs >2) + error("Wrong number of input arguments"); + end + select(rhs) + case 2 then + y= callOctave("fractdiff",x,d); + end +endfunction \ No newline at end of file diff --git a/macros/freqs.bin b/macros/freqs.bin deleted file mode 100644 index 066c156..0000000 Binary files a/macros/freqs.bin and /dev/null differ diff --git a/macros/freqs.sci b/macros/freqs.sci index 88773fe..05dd294 100644 --- a/macros/freqs.sci +++ b/macros/freqs.sci @@ -24,6 +24,6 @@ end select (rhs) case 3 then - y = callOctave("freqs",b, a, w) + h = callOctave("freqs",b, a, w) end endfunction diff --git a/macros/fwhm.bin b/macros/fwhm.bin deleted file mode 100644 index 38e0180..0000000 Binary files a/macros/fwhm.bin and /dev/null differ diff --git a/macros/fwhmjlt.bin b/macros/fwhmjlt.bin deleted file mode 100644 index 98edf6c..0000000 Binary files a/macros/fwhmjlt.bin and /dev/null differ diff --git a/macros/fwht.bin b/macros/fwht.bin deleted file mode 100644 index d5d6cc6..0000000 Binary files a/macros/fwht.bin and /dev/null differ diff --git a/macros/gauspuls.bin b/macros/gauspuls.bin deleted file mode 100644 index 7ed8b82..0000000 Binary files a/macros/gauspuls.bin and /dev/null differ diff --git a/macros/gaussdesign.bin b/macros/gaussdesign.bin deleted file mode 100644 index 8b05521..0000000 Binary files a/macros/gaussdesign.bin and /dev/null differ diff --git a/macros/gaussian.bin b/macros/gaussian.bin deleted file mode 100644 index 472d182..0000000 Binary files a/macros/gaussian.bin and /dev/null differ diff --git a/macros/gausswin.bin b/macros/gausswin.bin deleted file mode 100644 index 8133cd0..0000000 Binary files a/macros/gausswin.bin and /dev/null differ diff --git a/macros/gmonopuls.bin b/macros/gmonopuls.bin deleted file mode 100644 index bc0bcfb..0000000 Binary files a/macros/gmonopuls.bin and /dev/null differ diff --git a/macros/goertzel.bin b/macros/goertzel.bin deleted file mode 100644 index b1af7e2..0000000 Binary files a/macros/goertzel.bin and /dev/null differ diff --git a/macros/grpdelay.bin b/macros/grpdelay.bin deleted file mode 100644 index be071e0..0000000 Binary files a/macros/grpdelay.bin and /dev/null differ diff --git a/macros/hamming.sci b/macros/hamming.sci new file mode 100644 index 0000000..6fa9a12 --- /dev/null +++ b/macros/hamming.sci @@ -0,0 +1,14 @@ +function y = hamming(m, varargin) +funcprot(0); +rhs= argn(2); +if(rhs <1 | rhs>2) +error("Wrong number of Input parameters"); +end + +select(rhs) + case 1 then + y= callOctave("hamming", m); + case 2 then + y= callOctave("hamming", m , varargin(1)); +end +endfunction diff --git a/macros/hann.bin b/macros/hann.bin deleted file mode 100644 index 6d9679a..0000000 Binary files a/macros/hann.bin and /dev/null differ diff --git a/macros/hanning.bin b/macros/hanning.bin deleted file mode 100644 index fc3aa94..0000000 Binary files a/macros/hanning.bin and /dev/null differ diff --git a/macros/hanning.sci b/macros/hanning.sci index 85860c8..d90faf2 100644 --- a/macros/hanning.sci +++ b/macros/hanning.sci @@ -1,4 +1,5 @@ function y = hanning(m, varargin) + funcprot(0); rhs= argn(2); diff --git a/macros/helperHarmonicDistortionAmplifier.bin b/macros/helperHarmonicDistortionAmplifier.bin deleted file mode 100644 index e577060..0000000 Binary files a/macros/helperHarmonicDistortionAmplifier.bin and /dev/null differ diff --git a/macros/hilbert1.bin b/macros/hilbert1.bin deleted file mode 100644 index 486625b..0000000 Binary files a/macros/hilbert1.bin and /dev/null differ diff --git a/macros/hurst.bin b/macros/hurst.bin deleted file mode 100644 index 6422142..0000000 Binary files a/macros/hurst.bin and /dev/null differ diff --git a/macros/icceps.bin b/macros/icceps.bin deleted file mode 100644 index 937de63..0000000 Binary files a/macros/icceps.bin and /dev/null differ diff --git a/macros/idct1.bin b/macros/idct1.bin deleted file mode 100644 index 3ef1c7e..0000000 Binary files a/macros/idct1.bin and /dev/null differ diff --git a/macros/idct2.bin b/macros/idct2.bin deleted file mode 100644 index d577764..0000000 Binary files a/macros/idct2.bin and /dev/null differ diff --git a/macros/idst1.bin b/macros/idst1.bin deleted file mode 100644 index 448ee7e..0000000 Binary files a/macros/idst1.bin and /dev/null differ diff --git a/macros/ifft.bin b/macros/ifft.bin deleted file mode 100644 index 1c95870..0000000 Binary files a/macros/ifft.bin and /dev/null differ diff --git a/macros/ifft2.bin b/macros/ifft2.bin deleted file mode 100644 index bcd3a09..0000000 Binary files a/macros/ifft2.bin and /dev/null differ diff --git a/macros/ifftshift1.sci b/macros/ifftshift1.sci new file mode 100644 index 0000000..6c5ae8e --- /dev/null +++ b/macros/ifftshift1.sci @@ -0,0 +1,12 @@ +function y= ifftshift1(X,DIM) + rhs= argn(2); + if(rhs <1 | rhs >2) + error('Wrong number of Input arguments'); + end + select(rhs) + case 1 then + y=callOctave("ifftshift",X); + case 2 then + y=callOctave("ifftshift",X,DIM); + end +endfunction \ No newline at end of file diff --git a/macros/ifht.bin b/macros/ifht.bin deleted file mode 100644 index 124629d..0000000 Binary files a/macros/ifht.bin and /dev/null differ diff --git a/macros/ifwht.bin b/macros/ifwht.bin deleted file mode 100644 index 2acef55..0000000 Binary files a/macros/ifwht.bin and /dev/null differ diff --git a/macros/ifwht.sci b/macros/ifwht.sci index 163c032..c1517ac 100644 --- a/macros/ifwht.sci +++ b/macros/ifwht.sci @@ -1,4 +1,27 @@ function y= ifwht(x, varargin) +// Compute the inverse Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm +// Calling Sequence +// ifwht (x) +// ifwht (x, n) +// ifwht (x, n, order) +//Parameters +//x: real or complex valued scalar or vector +//n: Input is truncated or extended to have a length of n +//order: Specifies the order in which the returned inverse Walsh-Hadamard transform +//Description +//Compute the inverse Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm. If the input is a matrix, the inverse FWHT is calculated along the columns of x. +//The number of elements of x must be a power of 2; if not, the input will be extended and filled with zeros. If a second argument is given, the input is truncated or extended to have length n. +//The third argument specifies the order in which the returned inverse Walsh-Hadamard transform coefficients should be arranged. The order may be any of the following strings: +// +//"sequency" +//The coefficients are returned in sequency order. This is the default if order is not given. +// +//"hadamard" +//The coefficients are returned in Hadamard order. +// +//"dyadic" +//The coefficients are returned in Gray code order. + funcprot(0); rhs= argn(2); diff --git a/macros/iirlp2mb.bin b/macros/iirlp2mb.bin deleted file mode 100644 index 4459654..0000000 Binary files a/macros/iirlp2mb.bin and /dev/null differ diff --git a/macros/impinvar.bin b/macros/impinvar.bin deleted file mode 100644 index bc5bea1..0000000 Binary files a/macros/impinvar.bin and /dev/null differ diff --git a/macros/impz.bin b/macros/impz.bin deleted file mode 100644 index eb1ef54..0000000 Binary files a/macros/impz.bin and /dev/null differ diff --git a/macros/impzlength.bin b/macros/impzlength.bin deleted file mode 100644 index 147b140..0000000 Binary files a/macros/impzlength.bin and /dev/null differ diff --git a/macros/interp.bin b/macros/interp.bin deleted file mode 100644 index 36fbbe1..0000000 Binary files a/macros/interp.bin and /dev/null differ diff --git a/macros/intfilt.bin b/macros/intfilt.bin deleted file mode 100644 index 3a02288..0000000 Binary files a/macros/intfilt.bin and /dev/null differ diff --git a/macros/invfreq.bin b/macros/invfreq.bin deleted file mode 100644 index 7cd154e..0000000 Binary files a/macros/invfreq.bin and /dev/null differ diff --git a/macros/invimpinvar.bin b/macros/invimpinvar.bin deleted file mode 100644 index a5f115f..0000000 Binary files a/macros/invimpinvar.bin and /dev/null differ diff --git a/macros/is2rc.bin b/macros/is2rc.bin deleted file mode 100644 index 325d4b5..0000000 Binary files a/macros/is2rc.bin and /dev/null differ diff --git a/macros/isallpass.bin b/macros/isallpass.bin deleted file mode 100644 index 6f27769..0000000 Binary files a/macros/isallpass.bin and /dev/null differ diff --git a/macros/isfir.bin b/macros/isfir.bin deleted file mode 100644 index c9670a9..0000000 Binary files a/macros/isfir.bin and /dev/null differ diff --git a/macros/islinphase.bin b/macros/islinphase.bin deleted file mode 100644 index 2f00f5e..0000000 Binary files a/macros/islinphase.bin and /dev/null differ diff --git a/macros/ismaxphase.bin b/macros/ismaxphase.bin deleted file mode 100644 index 3684e9a..0000000 Binary files a/macros/ismaxphase.bin and /dev/null differ diff --git a/macros/isminphase.bin b/macros/isminphase.bin deleted file mode 100644 index fc1991d..0000000 Binary files a/macros/isminphase.bin and /dev/null differ diff --git a/macros/isstable.bin b/macros/isstable.bin deleted file mode 100644 index 304c4be..0000000 Binary files a/macros/isstable.bin and /dev/null differ diff --git a/macros/kaiser.bin b/macros/kaiser.bin deleted file mode 100644 index 4e00979..0000000 Binary files a/macros/kaiser.bin and /dev/null differ diff --git a/macros/lar2rc.bin b/macros/lar2rc.bin deleted file mode 100644 index 16ad37f..0000000 Binary files a/macros/lar2rc.bin and /dev/null differ diff --git a/macros/latc2tf.bin b/macros/latc2tf.bin deleted file mode 100644 index 96fbc64..0000000 Binary files a/macros/latc2tf.bin and /dev/null differ diff --git a/macros/latcfilt.bin b/macros/latcfilt.bin deleted file mode 100644 index 3887ce0..0000000 Binary files a/macros/latcfilt.bin and /dev/null differ diff --git a/macros/latcfilt1.bin b/macros/latcfilt1.bin deleted file mode 100644 index 72f06d8..0000000 Binary files a/macros/latcfilt1.bin and /dev/null differ diff --git a/macros/levdown.bin b/macros/levdown.bin deleted file mode 100644 index 06045ae..0000000 Binary files a/macros/levdown.bin and /dev/null differ diff --git a/macros/levin.bin b/macros/levin.bin deleted file mode 100644 index 87a4029..0000000 Binary files a/macros/levin.bin and /dev/null differ diff --git a/macros/levinson.bin b/macros/levinson.bin deleted file mode 100644 index 55ad79d..0000000 Binary files a/macros/levinson.bin and /dev/null differ diff --git a/macros/lib b/macros/lib index c79382e..7085473 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/lpc.bin b/macros/lpc.bin deleted file mode 100644 index ccaf9d9..0000000 Binary files a/macros/lpc.bin and /dev/null differ diff --git a/macros/lsf2poly.bin b/macros/lsf2poly.bin deleted file mode 100644 index 4c20636..0000000 Binary files a/macros/lsf2poly.bin and /dev/null differ diff --git a/macros/mag2db.bin b/macros/mag2db.bin deleted file mode 100644 index 58186d6..0000000 Binary files a/macros/mag2db.bin and /dev/null differ diff --git a/macros/marcumq.bin b/macros/marcumq.bin deleted file mode 100644 index 187ddfa..0000000 Binary files a/macros/marcumq.bin and /dev/null differ diff --git a/macros/medfilt1.bin b/macros/medfilt1.bin deleted file mode 100644 index d5cc06f..0000000 Binary files a/macros/medfilt1.bin and /dev/null differ diff --git a/macros/mexihat.bin b/macros/mexihat.bin deleted file mode 100644 index 9e4879d..0000000 Binary files a/macros/mexihat.bin and /dev/null differ diff --git a/macros/meyeraux.bin b/macros/meyeraux.bin deleted file mode 100644 index 5d3239f..0000000 Binary files a/macros/meyeraux.bin and /dev/null differ diff --git a/macros/midcross.bin b/macros/midcross.bin deleted file mode 100644 index a5e182d..0000000 Binary files a/macros/midcross.bin and /dev/null differ diff --git a/macros/modulate.bin b/macros/modulate.bin deleted file mode 100644 index 169b209..0000000 Binary files a/macros/modulate.bin and /dev/null differ diff --git a/macros/morlet.bin b/macros/morlet.bin deleted file mode 100644 index f00e186..0000000 Binary files a/macros/morlet.bin and /dev/null differ diff --git a/macros/movingrms.bin b/macros/movingrms.bin deleted file mode 100644 index 720357d..0000000 Binary files a/macros/movingrms.bin and /dev/null differ diff --git a/macros/musicBase.bin b/macros/musicBase.bin deleted file mode 100644 index 884ae30..0000000 Binary files a/macros/musicBase.bin and /dev/null differ diff --git a/macros/names b/macros/names index 4bd1ddd..f227bbd 100644 --- a/macros/names +++ b/macros/names @@ -44,10 +44,13 @@ db db2pow dctmtx decimate +detrend1 dftmtx +diffpara diric downsample dst1 +durbinlevinson dutycycle ellip ellipap @@ -58,6 +61,7 @@ falltime fft fft2 fftfilt +fftshift1 fht filternorm filtfilt @@ -67,6 +71,7 @@ firpmord firtype flattopwin fracshift +fractdiff freqs fwhm fwhmjlt @@ -78,6 +83,7 @@ gausswin gmonopuls goertzel grpdelay +hamming hann hanning helperHarmonicDistortionAmplifier @@ -89,6 +95,7 @@ idct2 idst1 ifft ifft2 +ifftshift1 ifht ifwht iirlp2mb diff --git a/macros/ncauer.bin b/macros/ncauer.bin deleted file mode 100644 index 0886fbd..0000000 Binary files a/macros/ncauer.bin and /dev/null differ diff --git a/macros/nnls.bin b/macros/nnls.bin deleted file mode 100644 index 616c06a..0000000 Binary files a/macros/nnls.bin and /dev/null differ diff --git a/macros/nuttallwin.bin b/macros/nuttallwin.bin deleted file mode 100644 index 92c09d6..0000000 Binary files a/macros/nuttallwin.bin and /dev/null differ diff --git a/macros/parzenwin.bin b/macros/parzenwin.bin deleted file mode 100644 index ce71bf1..0000000 Binary files a/macros/parzenwin.bin and /dev/null differ diff --git a/macros/pchip.bin b/macros/pchip.bin deleted file mode 100644 index b698e26..0000000 Binary files a/macros/pchip.bin and /dev/null differ diff --git a/macros/pchips.bin b/macros/pchips.bin deleted file mode 100644 index 37e0ef5..0000000 Binary files a/macros/pchips.bin and /dev/null differ diff --git a/macros/peak2peak.bin b/macros/peak2peak.bin deleted file mode 100644 index 263e5aa..0000000 Binary files a/macros/peak2peak.bin and /dev/null differ diff --git a/macros/peak2rms.bin b/macros/peak2rms.bin deleted file mode 100644 index ab5dccd..0000000 Binary files a/macros/peak2rms.bin and /dev/null differ diff --git a/macros/pei_tseng_notch.bin b/macros/pei_tseng_notch.bin deleted file mode 100644 index 40cd414..0000000 Binary files a/macros/pei_tseng_notch.bin and /dev/null differ diff --git a/macros/peig.bin b/macros/peig.bin deleted file mode 100644 index 88c349f..0000000 Binary files a/macros/peig.bin and /dev/null differ diff --git a/macros/periodogram.bin b/macros/periodogram.bin deleted file mode 100644 index 39bdd96..0000000 Binary files a/macros/periodogram.bin and /dev/null differ diff --git a/macros/phaseInputParseAs_ab.bin b/macros/phaseInputParseAs_ab.bin deleted file mode 100644 index 6e216df..0000000 Binary files a/macros/phaseInputParseAs_ab.bin and /dev/null differ diff --git a/macros/phaseInputParseAs_sos.bin b/macros/phaseInputParseAs_sos.bin deleted file mode 100644 index fedc3ac..0000000 Binary files a/macros/phaseInputParseAs_sos.bin and /dev/null differ diff --git a/macros/phasedelay.bin b/macros/phasedelay.bin deleted file mode 100644 index 01e0684..0000000 Binary files a/macros/phasedelay.bin and /dev/null differ diff --git a/macros/phasez.bin b/macros/phasez.bin deleted file mode 100644 index 6b0a1e7..0000000 Binary files a/macros/phasez.bin and /dev/null differ diff --git a/macros/pmusic.bin b/macros/pmusic.bin deleted file mode 100644 index 1533f71..0000000 Binary files a/macros/pmusic.bin and /dev/null differ diff --git a/macros/poly2ac.bin b/macros/poly2ac.bin deleted file mode 100644 index 5bdccd5..0000000 Binary files a/macros/poly2ac.bin and /dev/null differ diff --git a/macros/poly2lsf.bin b/macros/poly2lsf.bin deleted file mode 100644 index 35db930..0000000 Binary files a/macros/poly2lsf.bin and /dev/null differ diff --git a/macros/poly2rc.bin b/macros/poly2rc.bin deleted file mode 100644 index 69952b4..0000000 Binary files a/macros/poly2rc.bin and /dev/null differ diff --git a/macros/polyscale.bin b/macros/polyscale.bin deleted file mode 100644 index 7d77a5c..0000000 Binary files a/macros/polyscale.bin and /dev/null differ diff --git a/macros/polystab.bin b/macros/polystab.bin deleted file mode 100644 index 09a8acb..0000000 Binary files a/macros/polystab.bin and /dev/null differ diff --git a/macros/polyval.bin b/macros/polyval.bin deleted file mode 100644 index 1375c8e..0000000 Binary files a/macros/polyval.bin and /dev/null differ diff --git a/macros/pow2db.bin b/macros/pow2db.bin deleted file mode 100644 index 7cc69ea..0000000 Binary files a/macros/pow2db.bin and /dev/null differ diff --git a/macros/primitive.bin b/macros/primitive.bin deleted file mode 100644 index d83a446..0000000 Binary files a/macros/primitive.bin and /dev/null differ diff --git a/macros/prony.bin b/macros/prony.bin deleted file mode 100644 index 12ea4f9..0000000 Binary files a/macros/prony.bin and /dev/null differ diff --git a/macros/pulseperiod.bin b/macros/pulseperiod.bin deleted file mode 100644 index b995439..0000000 Binary files a/macros/pulseperiod.bin and /dev/null differ diff --git a/macros/pulsesep.bin b/macros/pulsesep.bin deleted file mode 100644 index 3da9b7a..0000000 Binary files a/macros/pulsesep.bin and /dev/null differ diff --git a/macros/pulsewidth.bin b/macros/pulsewidth.bin deleted file mode 100644 index 6bb29af..0000000 Binary files a/macros/pulsewidth.bin and /dev/null differ diff --git a/macros/pulstran.bin b/macros/pulstran.bin deleted file mode 100644 index 0bfe42a..0000000 Binary files a/macros/pulstran.bin and /dev/null differ diff --git a/macros/rc2ac.bin b/macros/rc2ac.bin deleted file mode 100644 index b50257c..0000000 Binary files a/macros/rc2ac.bin and /dev/null differ diff --git a/macros/rc2is.bin b/macros/rc2is.bin deleted file mode 100644 index eda8763..0000000 Binary files a/macros/rc2is.bin and /dev/null differ diff --git a/macros/rc2lar.bin b/macros/rc2lar.bin deleted file mode 100644 index c8e33b7..0000000 Binary files a/macros/rc2lar.bin and /dev/null differ diff --git a/macros/rc2poly.bin b/macros/rc2poly.bin deleted file mode 100644 index 187d0cd..0000000 Binary files a/macros/rc2poly.bin and /dev/null differ diff --git a/macros/rceps.bin b/macros/rceps.bin deleted file mode 100644 index 616b17e..0000000 Binary files a/macros/rceps.bin and /dev/null differ diff --git a/macros/rcosdesign.bin b/macros/rcosdesign.bin deleted file mode 100644 index 652e766..0000000 Binary files a/macros/rcosdesign.bin and /dev/null differ diff --git a/macros/rectpuls.bin b/macros/rectpuls.bin deleted file mode 100644 index a61a830..0000000 Binary files a/macros/rectpuls.bin and /dev/null differ diff --git a/macros/rectwin.bin b/macros/rectwin.bin deleted file mode 100644 index 88d68f5..0000000 Binary files a/macros/rectwin.bin and /dev/null differ diff --git a/macros/remez1.bin b/macros/remez1.bin deleted file mode 100644 index 0bad133..0000000 Binary files a/macros/remez1.bin and /dev/null differ diff --git a/macros/remez1.sci b/macros/remez1.sci index 0400d90..d9cfd29 100644 --- a/macros/remez1.sci +++ b/macros/remez1.sci @@ -13,7 +13,7 @@ function b = remez1(n,f,a, varargin) //ftype:is "bandpass", "hilbert" or "differentiator" //griddensity:determines how accurately the filter will be constructed. The minimum value is 16, but higher numbers are slower to compute. //Description -//Frequency is in the range (0, 1), with 1 being the Nyquist frequency. +// Frequency is in the range (0, 1), with 1 being the Nyquist frequency. funcprot(0); rhs= argn(2); diff --git a/macros/resample.bin b/macros/resample.bin deleted file mode 100644 index d70f8df..0000000 Binary files a/macros/resample.bin and /dev/null differ diff --git a/macros/residued.bin b/macros/residued.bin deleted file mode 100644 index 222dc28..0000000 Binary files a/macros/residued.bin and /dev/null differ diff --git a/macros/residuez.bin b/macros/residuez.bin deleted file mode 100644 index 5a04712..0000000 Binary files a/macros/residuez.bin and /dev/null differ diff --git a/macros/risetime.bin b/macros/risetime.bin deleted file mode 100644 index d8af143..0000000 Binary files a/macros/risetime.bin and /dev/null differ diff --git a/macros/rlevinson.bin b/macros/rlevinson.bin deleted file mode 100644 index 864f1db..0000000 Binary files a/macros/rlevinson.bin and /dev/null differ diff --git a/macros/rms.bin b/macros/rms.bin deleted file mode 100644 index c757115..0000000 Binary files a/macros/rms.bin and /dev/null differ diff --git a/macros/rooteig.bin b/macros/rooteig.bin deleted file mode 100644 index a07e660..0000000 Binary files a/macros/rooteig.bin and /dev/null differ diff --git a/macros/rootmusic.bin b/macros/rootmusic.bin deleted file mode 100644 index 8d40df3..0000000 Binary files a/macros/rootmusic.bin and /dev/null differ diff --git a/macros/rssq.bin b/macros/rssq.bin deleted file mode 100644 index 3401b22..0000000 Binary files a/macros/rssq.bin and /dev/null differ diff --git a/macros/sampled2continuous.bin b/macros/sampled2continuous.bin deleted file mode 100644 index 49a325a..0000000 Binary files a/macros/sampled2continuous.bin and /dev/null differ diff --git a/macros/sawtooth.bin b/macros/sawtooth.bin deleted file mode 100644 index 19e5aeb..0000000 Binary files a/macros/sawtooth.bin and /dev/null differ diff --git a/macros/schtrig.bin b/macros/schtrig.bin deleted file mode 100644 index d89c725..0000000 Binary files a/macros/schtrig.bin and /dev/null differ diff --git a/macros/schurrc.bin b/macros/schurrc.bin deleted file mode 100644 index c484ac0..0000000 Binary files a/macros/schurrc.bin and /dev/null differ diff --git a/macros/seqperiod.bin b/macros/seqperiod.bin deleted file mode 100644 index 8c9af6f..0000000 Binary files a/macros/seqperiod.bin and /dev/null differ diff --git a/macros/sgolay.bin b/macros/sgolay.bin deleted file mode 100644 index 14ab743..0000000 Binary files a/macros/sgolay.bin and /dev/null differ diff --git a/macros/sgolayfilt.bin b/macros/sgolayfilt.bin deleted file mode 100644 index a834dab..0000000 Binary files a/macros/sgolayfilt.bin and /dev/null differ diff --git a/macros/shanwavf.bin b/macros/shanwavf.bin deleted file mode 100644 index 300bc07..0000000 Binary files a/macros/shanwavf.bin and /dev/null differ diff --git a/macros/shiftdata.bin b/macros/shiftdata.bin deleted file mode 100644 index ef78b01..0000000 Binary files a/macros/shiftdata.bin and /dev/null differ diff --git a/macros/sigmoid_train.bin b/macros/sigmoid_train.bin deleted file mode 100644 index 438d657..0000000 Binary files a/macros/sigmoid_train.bin and /dev/null differ diff --git a/macros/sinetone.bin b/macros/sinetone.bin deleted file mode 100644 index 7b3f298..0000000 Binary files a/macros/sinetone.bin and /dev/null differ diff --git a/macros/sinewave.bin b/macros/sinewave.bin deleted file mode 100644 index 2aaae52..0000000 Binary files a/macros/sinewave.bin and /dev/null differ diff --git a/macros/slewrate.bin b/macros/slewrate.bin deleted file mode 100644 index 55c9162..0000000 Binary files a/macros/slewrate.bin and /dev/null differ diff --git a/macros/sos2cell.bin b/macros/sos2cell.bin deleted file mode 100644 index 924a4b6..0000000 Binary files a/macros/sos2cell.bin and /dev/null differ diff --git a/macros/sos2ss.bin b/macros/sos2ss.bin deleted file mode 100644 index 03d1147..0000000 Binary files a/macros/sos2ss.bin and /dev/null differ diff --git a/macros/sos2tf.bin b/macros/sos2tf.bin deleted file mode 100644 index 31a8c0e..0000000 Binary files a/macros/sos2tf.bin and /dev/null differ diff --git a/macros/sos2zp.bin b/macros/sos2zp.bin deleted file mode 100644 index 34e81b4..0000000 Binary files a/macros/sos2zp.bin and /dev/null differ diff --git a/macros/sosbreak.bin b/macros/sosbreak.bin deleted file mode 100644 index de8d621..0000000 Binary files a/macros/sosbreak.bin and /dev/null differ diff --git a/macros/sosfilt.bin b/macros/sosfilt.bin deleted file mode 100644 index 3d70709..0000000 Binary files a/macros/sosfilt.bin and /dev/null differ diff --git a/macros/specgram.bin b/macros/specgram.bin deleted file mode 100644 index 9ce781f..0000000 Binary files a/macros/specgram.bin and /dev/null differ diff --git a/macros/spectral_adf.bin b/macros/spectral_adf.bin deleted file mode 100644 index 04d7bd0..0000000 Binary files a/macros/spectral_adf.bin and /dev/null differ diff --git a/macros/spectral_xdf.bin b/macros/spectral_xdf.bin deleted file mode 100644 index 07783ee..0000000 Binary files a/macros/spectral_xdf.bin and /dev/null differ diff --git a/macros/spencer.bin b/macros/spencer.bin deleted file mode 100644 index 53deb07..0000000 Binary files a/macros/spencer.bin and /dev/null differ diff --git a/macros/ss2sos.bin b/macros/ss2sos.bin deleted file mode 100644 index 9dd7ba3..0000000 Binary files a/macros/ss2sos.bin and /dev/null differ diff --git a/macros/statelevels.bin b/macros/statelevels.bin deleted file mode 100644 index acdb468..0000000 Binary files a/macros/statelevels.bin and /dev/null differ diff --git a/macros/stft.bin b/macros/stft.bin deleted file mode 100644 index 41aace3..0000000 Binary files a/macros/stft.bin and /dev/null differ diff --git a/macros/stmcb.bin b/macros/stmcb.bin deleted file mode 100644 index 3fecc2b..0000000 Binary files a/macros/stmcb.bin and /dev/null differ diff --git a/macros/strips.bin b/macros/strips.bin deleted file mode 100644 index 45199f3..0000000 Binary files a/macros/strips.bin and /dev/null differ diff --git a/macros/subspaceMethodsInputParser.bin b/macros/subspaceMethodsInputParser.bin deleted file mode 100644 index e2ae41b..0000000 Binary files a/macros/subspaceMethodsInputParser.bin and /dev/null differ diff --git a/macros/synthesis.bin b/macros/synthesis.bin deleted file mode 100644 index b9124a3..0000000 Binary files a/macros/synthesis.bin and /dev/null differ diff --git a/macros/tf2sos.bin b/macros/tf2sos.bin deleted file mode 100644 index e0e70a9..0000000 Binary files a/macros/tf2sos.bin and /dev/null differ diff --git a/macros/tf2zp.bin b/macros/tf2zp.bin deleted file mode 100644 index 2cfc2ce..0000000 Binary files a/macros/tf2zp.bin and /dev/null differ diff --git a/macros/tf2zpk.bin b/macros/tf2zpk.bin deleted file mode 100644 index ed110d1..0000000 Binary files a/macros/tf2zpk.bin and /dev/null differ diff --git a/macros/transpose.bin b/macros/transpose.bin deleted file mode 100644 index 4531927..0000000 Binary files a/macros/transpose.bin and /dev/null differ diff --git a/macros/trial_iirlp2mb.bin b/macros/trial_iirlp2mb.bin deleted file mode 100644 index 89171e5..0000000 Binary files a/macros/trial_iirlp2mb.bin and /dev/null differ diff --git a/macros/triang.bin b/macros/triang.bin deleted file mode 100644 index 67e8d99..0000000 Binary files a/macros/triang.bin and /dev/null differ diff --git a/macros/tripuls.bin b/macros/tripuls.bin deleted file mode 100644 index 644e9f3..0000000 Binary files a/macros/tripuls.bin and /dev/null differ diff --git a/macros/truth.bin b/macros/truth.bin deleted file mode 100644 index 492d7d9..0000000 Binary files a/macros/truth.bin and /dev/null differ diff --git a/macros/tukeywin.bin b/macros/tukeywin.bin deleted file mode 100644 index f625c8b..0000000 Binary files a/macros/tukeywin.bin and /dev/null differ diff --git a/macros/udecode.bin b/macros/udecode.bin deleted file mode 100644 index 10ee70d..0000000 Binary files a/macros/udecode.bin and /dev/null differ diff --git a/macros/uencode.bin b/macros/uencode.bin deleted file mode 100644 index 3edffa8..0000000 Binary files a/macros/uencode.bin and /dev/null differ diff --git a/macros/ultrwin.bin b/macros/ultrwin.bin deleted file mode 100644 index 6bd2dbe..0000000 Binary files a/macros/ultrwin.bin and /dev/null differ diff --git a/macros/unshiftdata.bin b/macros/unshiftdata.bin deleted file mode 100644 index 08df42c..0000000 Binary files a/macros/unshiftdata.bin and /dev/null differ diff --git a/macros/upfirdn.bin b/macros/upfirdn.bin deleted file mode 100644 index 8d5a99d..0000000 Binary files a/macros/upfirdn.bin and /dev/null differ diff --git a/macros/upsample.bin b/macros/upsample.bin deleted file mode 100644 index 5195035..0000000 Binary files a/macros/upsample.bin and /dev/null differ diff --git a/macros/upsamplefill.bin b/macros/upsamplefill.bin deleted file mode 100644 index b447000..0000000 Binary files a/macros/upsamplefill.bin and /dev/null differ diff --git a/macros/var.bin b/macros/var.bin deleted file mode 100644 index ca8d571..0000000 Binary files a/macros/var.bin and /dev/null differ diff --git a/macros/vco.bin b/macros/vco.bin deleted file mode 100644 index 5c063f2..0000000 Binary files a/macros/vco.bin and /dev/null differ diff --git a/macros/wconv.bin b/macros/wconv.bin deleted file mode 100644 index f174e54..0000000 Binary files a/macros/wconv.bin and /dev/null differ diff --git a/macros/welchwin.bin b/macros/welchwin.bin deleted file mode 100644 index 3323c77..0000000 Binary files a/macros/welchwin.bin and /dev/null differ diff --git a/macros/window.bin b/macros/window.bin deleted file mode 100644 index fe7e1ef..0000000 Binary files a/macros/window.bin and /dev/null differ diff --git a/macros/wkeep.bin b/macros/wkeep.bin deleted file mode 100644 index a659931..0000000 Binary files a/macros/wkeep.bin and /dev/null differ diff --git a/macros/wrev.bin b/macros/wrev.bin deleted file mode 100644 index f4baf3d..0000000 Binary files a/macros/wrev.bin and /dev/null differ diff --git a/macros/xcorr2.bin b/macros/xcorr2.bin deleted file mode 100644 index 795bfe4..0000000 Binary files a/macros/xcorr2.bin and /dev/null differ diff --git a/macros/xcov1.bin b/macros/xcov1.bin deleted file mode 100644 index 9a57ca5..0000000 Binary files a/macros/xcov1.bin and /dev/null differ diff --git a/macros/yulewalker.bin b/macros/yulewalker.bin deleted file mode 100644 index 9af6286..0000000 Binary files a/macros/yulewalker.bin and /dev/null differ diff --git a/macros/zerocrossing.bin b/macros/zerocrossing.bin deleted file mode 100644 index d6b1655..0000000 Binary files a/macros/zerocrossing.bin and /dev/null differ diff --git a/macros/zp2sos.bin b/macros/zp2sos.bin deleted file mode 100644 index 08c8b1f..0000000 Binary files a/macros/zp2sos.bin and /dev/null differ diff --git a/macros/zp2ss.bin b/macros/zp2ss.bin deleted file mode 100644 index b8ab377..0000000 Binary files a/macros/zp2ss.bin and /dev/null differ diff --git a/macros/zp2tf.bin b/macros/zp2tf.bin deleted file mode 100644 index 2597b7d..0000000 Binary files a/macros/zp2tf.bin and /dev/null differ diff --git a/macros/zplane.bin b/macros/zplane.bin deleted file mode 100644 index 43396b8..0000000 Binary files a/macros/zplane.bin and /dev/null differ -- cgit From 1a9dc5fe1e700a123787f6183bceacaefaf954d6 Mon Sep 17 00:00:00 2001 From: bgtushar Date: Mon, 27 Nov 2017 20:45:48 +0530 Subject: Deleted bin and HTML, Added Functions --- help/en_US/cceps.xml | 38 ++++++++++ help/en_US/master_help.xml | 6 ++ help/en_US/mscohere.xml | 57 ++++++++++++++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 10555 -> 10715 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1409 -> 1429 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 661 -> 671 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 43320 -> 44032 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 24576 -> 24576 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 3 + help/en_US/scilab_en_US_help/jhelptoc.xml | 3 + help/en_US/xcov1.xml | 64 ++++++++++++++++ jar/scilab_en_US_help.jar | Bin 311717 -> 316380 bytes macros/ac2poly.bin | Bin 4088 -> 0 bytes macros/ac2rc.bin | Bin 4784 -> 0 bytes macros/arParEst.bin | Bin 8568 -> 0 bytes macros/arburg.bin | Bin 8912 -> 0 bytes macros/arcov.bin | Bin 3768 -> 0 bytes macros/armcov.bin | Bin 1856 -> 0 bytes macros/aryule.bin | Bin 4604 -> 0 bytes macros/autoreg_matrix.sci | 13 ++++ macros/barthannwin.bin | Bin 2764 -> 0 bytes macros/bartlett.bin | Bin 4428 -> 0 bytes macros/besselap.bin | Bin 4340 -> 0 bytes macros/besself.bin | Bin 8972 -> 0 bytes macros/bitrevorder.bin | Bin 2920 -> 0 bytes macros/blackman.bin | Bin 8188 -> 0 bytes macros/blackmanharris.bin | Bin 4300 -> 0 bytes macros/blackmannuttall.bin | Bin 4312 -> 0 bytes macros/bohmanwin.bin | Bin 2548 -> 0 bytes macros/boxcar.bin | Bin 2568 -> 0 bytes macros/buffer.bin | Bin 6876 -> 0 bytes macros/buttap.bin | Bin 4104 -> 0 bytes macros/butter.bin | Bin 10144 -> 0 bytes macros/buttord.bin | Bin 6968 -> 0 bytes macros/cceps.bin | Bin 1332 -> 0 bytes macros/cceps.sci | 7 +- macros/cconv.bin | Bin 7392 -> 0 bytes macros/cell2sos.bin | Bin 10336 -> 0 bytes macros/cheb.bin | Bin 3404 -> 0 bytes macros/cheb1ap.bin | Bin 5508 -> 0 bytes macros/cheb1ord.bin | Bin 7028 -> 0 bytes macros/cheb2ap.bin | Bin 4056 -> 0 bytes macros/cheb2ord.bin | Bin 7092 -> 0 bytes macros/chebwin.bin | Bin 3908 -> 0 bytes macros/cheby1.bin | Bin 11136 -> 0 bytes macros/cheby2.bin | Bin 11164 -> 0 bytes macros/check.bin | Bin 476 -> 0 bytes macros/chirp.bin | Bin 7252 -> 0 bytes macros/clustersegment.bin | Bin 4108 -> 0 bytes macros/cmorwavf.bin | Bin 3696 -> 0 bytes macros/convmtx.bin | Bin 2884 -> 0 bytes macros/corrmtx.bin | Bin 20444 -> 0 bytes macros/cplxreal.bin | Bin 5940 -> 0 bytes macros/cummax.bin | Bin 22500 -> 0 bytes macros/cummin.bin | Bin 23096 -> 0 bytes macros/czt.bin | Bin 2164 -> 0 bytes macros/db.bin | Bin 22844 -> 0 bytes macros/db2pow.bin | Bin 3012 -> 0 bytes macros/dctmtx.bin | Bin 3448 -> 0 bytes macros/decimate.bin | Bin 4888 -> 0 bytes macros/dftmtx.bin | Bin 3464 -> 0 bytes macros/diric.bin | Bin 2524 -> 0 bytes macros/downsample.bin | Bin 4204 -> 0 bytes macros/dst1.bin | Bin 1360 -> 0 bytes macros/dutycycle.bin | Bin 65420 -> 0 bytes macros/dwt.sci | 17 +++++ macros/ellip.bin | Bin 12252 -> 0 bytes macros/ellipap.bin | Bin 5264 -> 0 bytes macros/ellipord.bin | Bin 7156 -> 0 bytes macros/enbw.bin | Bin 5076 -> 0 bytes macros/eqtflength.bin | Bin 4864 -> 0 bytes macros/falltime.bin | Bin 57524 -> 0 bytes macros/fft.bin | Bin 6080 -> 0 bytes macros/fft2.bin | Bin 5292 -> 0 bytes macros/fftconv.sci | 15 ++++ macros/fftfilt.bin | Bin 25776 -> 0 bytes macros/fftn.sci | 15 ++++ macros/fht.bin | Bin 1584 -> 0 bytes macros/filter1.sci | 34 +++++++++ macros/filter2.sci | 18 +++++ macros/filternorm.bin | Bin 18100 -> 0 bytes macros/filtfilt.bin | Bin 3720 -> 0 bytes macros/filtic.bin | Bin 4640 -> 0 bytes macros/filtord.bin | Bin 8580 -> 0 bytes macros/fir1.sci | 19 +++++ macros/fir2.sci | 19 +++++ macros/firpmord.bin | Bin 33892 -> 0 bytes macros/firtype.bin | Bin 3900 -> 0 bytes macros/flattopwin.bin | Bin 5388 -> 0 bytes macros/fracshift.bin | Bin 4636 -> 0 bytes macros/freqs.bin | Bin 3628 -> 0 bytes macros/fwhm.bin | Bin 6544 -> 0 bytes macros/fwhmjlt.bin | Bin 2412 -> 0 bytes macros/fwht.bin | Bin 1672 -> 0 bytes macros/gauspuls.bin | Bin 3792 -> 0 bytes macros/gaussdesign.bin | Bin 15776 -> 0 bytes macros/gaussian.bin | Bin 4004 -> 0 bytes macros/gausswin.bin | Bin 3988 -> 0 bytes macros/gmonopuls.bin | Bin 3160 -> 0 bytes macros/goertzel.bin | Bin 13476 -> 0 bytes macros/grpdelay.bin | Bin 7960 -> 0 bytes macros/hann.bin | Bin 4488 -> 0 bytes macros/hanning.bin | Bin 1368 -> 0 bytes macros/helperHarmonicDistortionAmplifier.bin | Bin 3304 -> 0 bytes macros/hilbert1.bin | Bin 1704 -> 0 bytes macros/hurst.bin | Bin 1060 -> 0 bytes macros/icceps.bin | Bin 5604 -> 0 bytes macros/idct1.bin | Bin 1308 -> 0 bytes macros/idct2.bin | Bin 1676 -> 0 bytes macros/idst1.bin | Bin 1340 -> 0 bytes macros/ifft.bin | Bin 6476 -> 0 bytes macros/ifft2.bin | Bin 6016 -> 0 bytes macros/ifftn.sci | 15 ++++ macros/ifht.bin | Bin 1628 -> 0 bytes macros/ifwht.bin | Bin 1684 -> 0 bytes macros/iirlp2mb.bin | Bin 6892 -> 0 bytes macros/impinvar.bin | Bin 5392 -> 0 bytes macros/impz.bin | Bin 4780 -> 0 bytes macros/impzlength.bin | Bin 29200 -> 0 bytes macros/interp.bin | Bin 4924 -> 0 bytes macros/intfilt.bin | Bin 31572 -> 0 bytes macros/invfreq.bin | Bin 2520 -> 0 bytes macros/invimpinvar.bin | Bin 5660 -> 0 bytes macros/is2rc.bin | Bin 4088 -> 0 bytes macros/isallpass.bin | Bin 17432 -> 0 bytes macros/isfir.bin | Bin 6172 -> 0 bytes macros/islinphase.bin | Bin 14592 -> 0 bytes macros/ismaxphase.bin | Bin 8576 -> 0 bytes macros/isminphase.bin | Bin 8648 -> 0 bytes macros/isstable.bin | Bin 9400 -> 0 bytes macros/kaiser.bin | Bin 3968 -> 0 bytes macros/lar2rc.bin | Bin 3756 -> 0 bytes macros/latc2tf.bin | Bin 24820 -> 0 bytes macros/latcfilt.bin | Bin 13240 -> 0 bytes macros/latcfilt1.bin | Bin 4664 -> 0 bytes macros/levdown.bin | Bin 1436 -> 0 bytes macros/levin.bin | Bin 6200 -> 0 bytes macros/levinson.bin | Bin 9180 -> 0 bytes macros/lib | Bin 6124 -> 6388 bytes macros/lpc.bin | Bin 21268 -> 0 bytes macros/lsf2poly.bin | Bin 8420 -> 0 bytes macros/mag2db.bin | Bin 1476 -> 0 bytes macros/marcumq.bin | Bin 5440 -> 0 bytes macros/medfilt1.bin | Bin 43316 -> 0 bytes macros/mexihat.bin | Bin 3312 -> 0 bytes macros/meyeraux.bin | Bin 2680 -> 0 bytes macros/midcross.bin | Bin 59888 -> 0 bytes macros/modulate.bin | Bin 29888 -> 0 bytes macros/morlet.bin | Bin 3412 -> 0 bytes macros/movingrms.bin | Bin 4524 -> 0 bytes macros/mscohere.sci | 82 +++++++++++++++++++++ macros/musicBase.bin | Bin 22512 -> 0 bytes macros/names | 11 +++ macros/ncauer.bin | Bin 5372 -> 0 bytes macros/nnls.bin | Bin 7612 -> 0 bytes macros/nuttallwin.bin | Bin 4108 -> 0 bytes macros/parzenwin.bin | Bin 2512 -> 0 bytes macros/pchip.bin | Bin 16320 -> 0 bytes macros/pchips.bin | Bin 8524 -> 0 bytes macros/peak2peak.bin | Bin 14012 -> 0 bytes macros/peak2rms.bin | Bin 13896 -> 0 bytes macros/pei_tseng_notch.bin | Bin 5436 -> 0 bytes macros/peig.bin | Bin 27724 -> 0 bytes macros/periodogram.bin | Bin 2392 -> 0 bytes macros/phaseInputParseAs_ab.bin | Bin 16256 -> 0 bytes macros/phaseInputParseAs_sos.bin | Bin 14480 -> 0 bytes macros/phasedelay.bin | Bin 15784 -> 0 bytes macros/phasez.bin | Bin 12092 -> 0 bytes macros/pmusic.bin | Bin 30784 -> 0 bytes macros/poly2ac.bin | Bin 5492 -> 0 bytes macros/poly2lsf.bin | Bin 12052 -> 0 bytes macros/poly2rc.bin | Bin 7644 -> 0 bytes macros/polyscale.bin | Bin 1352 -> 0 bytes macros/polystab.bin | Bin 2372 -> 0 bytes macros/polyval.bin | Bin 10356 -> 0 bytes macros/pow2db.bin | Bin 2544 -> 0 bytes macros/primitive.bin | Bin 3912 -> 0 bytes macros/prony.bin | Bin 3836 -> 0 bytes macros/pulseperiod.bin | Bin 63340 -> 0 bytes macros/pulsesep.bin | Bin 62568 -> 0 bytes macros/pulsewidth.bin | Bin 59276 -> 0 bytes macros/pulstran.bin | Bin 6000 -> 0 bytes macros/rc2ac.bin | Bin 4936 -> 0 bytes macros/rc2is.bin | Bin 6072 -> 0 bytes macros/rc2lar.bin | Bin 3260 -> 0 bytes macros/rc2poly.bin | Bin 5668 -> 0 bytes macros/rceps.bin | Bin 1576 -> 0 bytes macros/rcosdesign.bin | Bin 24832 -> 0 bytes macros/rectpuls.bin | Bin 3744 -> 0 bytes macros/rectwin.bin | Bin 2468 -> 0 bytes macros/remez1.bin | Bin 2424 -> 0 bytes macros/resample.bin | Bin 5912 -> 0 bytes macros/residued.bin | Bin 4432 -> 0 bytes macros/residuez.bin | Bin 3692 -> 0 bytes macros/risetime.bin | Bin 57484 -> 0 bytes macros/rlevinson.bin | Bin 15408 -> 0 bytes macros/rms.bin | Bin 2856 -> 0 bytes macros/rooteig.bin | Bin 39372 -> 0 bytes macros/rootmusic.bin | Bin 39616 -> 0 bytes macros/rssq.bin | Bin 9540 -> 0 bytes macros/sampled2continuous.bin | Bin 3324 -> 0 bytes macros/sawtooth.bin | Bin 3656 -> 0 bytes macros/schtrig.bin | Bin 3696 -> 0 bytes macros/schurrc.bin | Bin 6100 -> 0 bytes macros/seqperiod.bin | Bin 9968 -> 0 bytes macros/sgolay.bin | Bin 4648 -> 0 bytes macros/sgolayfilt.bin | Bin 7028 -> 0 bytes macros/shanwavf.bin | Bin 5360 -> 0 bytes macros/shiftdata.bin | Bin 7156 -> 0 bytes macros/sigmoid_train.bin | Bin 1208 -> 0 bytes macros/sinetone.bin | Bin 2132 -> 0 bytes macros/sinewave.bin | Bin 1720 -> 0 bytes macros/slewrate.bin | Bin 57676 -> 0 bytes macros/sos2cell.bin | Bin 10944 -> 0 bytes macros/sos2ss.bin | Bin 6896 -> 0 bytes macros/sos2tf.bin | Bin 3880 -> 0 bytes macros/sos2zp.bin | Bin 4964 -> 0 bytes macros/sosbreak.bin | Bin 4340 -> 0 bytes macros/sosfilt.bin | Bin 2576 -> 0 bytes macros/specgram.bin | Bin 2692 -> 0 bytes macros/spectral_adf.bin | Bin 1768 -> 0 bytes macros/spectral_xdf.bin | Bin 1768 -> 0 bytes macros/spencer.bin | Bin 1076 -> 0 bytes macros/ss2sos.bin | Bin 12568 -> 0 bytes macros/statelevels.bin | Bin 38016 -> 0 bytes macros/stft.bin | Bin 5464 -> 0 bytes macros/stmcb.bin | Bin 8140 -> 0 bytes macros/strips.bin | Bin 17232 -> 0 bytes macros/subspaceMethodsInputParser.bin | Bin 38972 -> 0 bytes macros/synthesis.bin | Bin 1256 -> 0 bytes macros/tf2sos.bin | Bin 4912 -> 0 bytes macros/tf2zp.bin | Bin 7056 -> 0 bytes macros/tf2zpk.bin | Bin 944 -> 0 bytes macros/transpose.bin | Bin 404 -> 0 bytes macros/trial_iirlp2mb.bin | Bin 4224 -> 0 bytes macros/triang.bin | Bin 2748 -> 0 bytes macros/tripuls.bin | Bin 4540 -> 0 bytes macros/truth.bin | Bin 240 -> 0 bytes macros/tukeywin.bin | Bin 3748 -> 0 bytes macros/udecode.bin | Bin 10412 -> 0 bytes macros/uencode.bin | Bin 12728 -> 0 bytes macros/ultrwin.bin | Bin 6664 -> 0 bytes macros/unshiftdata.bin | Bin 6916 -> 0 bytes macros/unwrap2.sci | 20 +++++ macros/upfirdn.bin | Bin 2776 -> 0 bytes macros/upsample.bin | Bin 4128 -> 0 bytes macros/upsamplefill.bin | Bin 4524 -> 0 bytes macros/var.bin | Bin 22564 -> 0 bytes macros/vco.bin | Bin 7248 -> 0 bytes macros/wconv.bin | Bin 3416 -> 0 bytes macros/welchwin.bin | Bin 4408 -> 0 bytes macros/window.bin | Bin 3804 -> 0 bytes macros/wkeep.bin | Bin 3804 -> 0 bytes macros/wrev.bin | Bin 2264 -> 0 bytes macros/xcorr2.bin | Bin 2496 -> 0 bytes macros/xcov1.bin | Bin 1708 -> 0 bytes macros/xcov1.sci | 18 +++++ macros/yulewalker.bin | Bin 1924 -> 0 bytes macros/zerocrossing.bin | Bin 2284 -> 0 bytes macros/zp2sos.bin | Bin 6280 -> 0 bytes macros/zp2ss.bin | Bin 5916 -> 0 bytes macros/zp2tf.bin | Bin 4116 -> 0 bytes macros/zplane.bin | Bin 1328 -> 0 bytes 264 files changed, 474 insertions(+), 2 deletions(-) create mode 100644 help/en_US/cceps.xml create mode 100644 help/en_US/mscohere.xml create mode 100644 help/en_US/xcov1.xml delete mode 100644 macros/ac2poly.bin delete mode 100644 macros/ac2rc.bin delete mode 100644 macros/arParEst.bin delete mode 100644 macros/arburg.bin delete mode 100644 macros/arcov.bin delete mode 100644 macros/armcov.bin delete mode 100644 macros/aryule.bin create mode 100644 macros/autoreg_matrix.sci delete mode 100644 macros/barthannwin.bin delete mode 100644 macros/bartlett.bin delete mode 100644 macros/besselap.bin delete mode 100644 macros/besself.bin delete mode 100644 macros/bitrevorder.bin delete mode 100644 macros/blackman.bin delete mode 100644 macros/blackmanharris.bin delete mode 100644 macros/blackmannuttall.bin delete mode 100644 macros/bohmanwin.bin delete mode 100644 macros/boxcar.bin delete mode 100644 macros/buffer.bin delete mode 100644 macros/buttap.bin delete mode 100644 macros/butter.bin delete mode 100644 macros/buttord.bin delete mode 100644 macros/cceps.bin delete mode 100644 macros/cconv.bin delete mode 100644 macros/cell2sos.bin delete mode 100644 macros/cheb.bin delete mode 100644 macros/cheb1ap.bin delete mode 100644 macros/cheb1ord.bin delete mode 100644 macros/cheb2ap.bin delete mode 100644 macros/cheb2ord.bin delete mode 100644 macros/chebwin.bin delete mode 100644 macros/cheby1.bin delete mode 100644 macros/cheby2.bin delete mode 100644 macros/check.bin delete mode 100644 macros/chirp.bin delete mode 100644 macros/clustersegment.bin delete mode 100644 macros/cmorwavf.bin delete mode 100644 macros/convmtx.bin delete mode 100644 macros/corrmtx.bin delete mode 100644 macros/cplxreal.bin delete mode 100644 macros/cummax.bin delete mode 100644 macros/cummin.bin delete mode 100644 macros/czt.bin delete mode 100644 macros/db.bin delete mode 100644 macros/db2pow.bin delete mode 100644 macros/dctmtx.bin delete mode 100644 macros/decimate.bin delete mode 100644 macros/dftmtx.bin delete mode 100644 macros/diric.bin delete mode 100644 macros/downsample.bin delete mode 100644 macros/dst1.bin delete mode 100644 macros/dutycycle.bin create mode 100644 macros/dwt.sci delete mode 100644 macros/ellip.bin delete mode 100644 macros/ellipap.bin delete mode 100644 macros/ellipord.bin delete mode 100644 macros/enbw.bin delete mode 100644 macros/eqtflength.bin delete mode 100644 macros/falltime.bin delete mode 100644 macros/fft.bin delete mode 100644 macros/fft2.bin create mode 100644 macros/fftconv.sci delete mode 100644 macros/fftfilt.bin create mode 100644 macros/fftn.sci delete mode 100644 macros/fht.bin create mode 100644 macros/filter1.sci create mode 100644 macros/filter2.sci delete mode 100644 macros/filternorm.bin delete mode 100644 macros/filtfilt.bin delete mode 100644 macros/filtic.bin delete mode 100644 macros/filtord.bin create mode 100644 macros/fir1.sci create mode 100644 macros/fir2.sci delete mode 100644 macros/firpmord.bin delete mode 100644 macros/firtype.bin delete mode 100644 macros/flattopwin.bin delete mode 100644 macros/fracshift.bin delete mode 100644 macros/freqs.bin delete mode 100644 macros/fwhm.bin delete mode 100644 macros/fwhmjlt.bin delete mode 100644 macros/fwht.bin delete mode 100644 macros/gauspuls.bin delete mode 100644 macros/gaussdesign.bin delete mode 100644 macros/gaussian.bin delete mode 100644 macros/gausswin.bin delete mode 100644 macros/gmonopuls.bin delete mode 100644 macros/goertzel.bin delete mode 100644 macros/grpdelay.bin delete mode 100644 macros/hann.bin delete mode 100644 macros/hanning.bin delete mode 100644 macros/helperHarmonicDistortionAmplifier.bin delete mode 100644 macros/hilbert1.bin delete mode 100644 macros/hurst.bin delete mode 100644 macros/icceps.bin delete mode 100644 macros/idct1.bin delete mode 100644 macros/idct2.bin delete mode 100644 macros/idst1.bin delete mode 100644 macros/ifft.bin delete mode 100644 macros/ifft2.bin create mode 100644 macros/ifftn.sci delete mode 100644 macros/ifht.bin delete mode 100644 macros/ifwht.bin delete mode 100644 macros/iirlp2mb.bin delete mode 100644 macros/impinvar.bin delete mode 100644 macros/impz.bin delete mode 100644 macros/impzlength.bin delete mode 100644 macros/interp.bin delete mode 100644 macros/intfilt.bin delete mode 100644 macros/invfreq.bin delete mode 100644 macros/invimpinvar.bin delete mode 100644 macros/is2rc.bin delete mode 100644 macros/isallpass.bin delete mode 100644 macros/isfir.bin delete mode 100644 macros/islinphase.bin delete mode 100644 macros/ismaxphase.bin delete mode 100644 macros/isminphase.bin delete mode 100644 macros/isstable.bin delete mode 100644 macros/kaiser.bin delete mode 100644 macros/lar2rc.bin delete mode 100644 macros/latc2tf.bin delete mode 100644 macros/latcfilt.bin delete mode 100644 macros/latcfilt1.bin delete mode 100644 macros/levdown.bin delete mode 100644 macros/levin.bin delete mode 100644 macros/levinson.bin delete mode 100644 macros/lpc.bin delete mode 100644 macros/lsf2poly.bin delete mode 100644 macros/mag2db.bin delete mode 100644 macros/marcumq.bin delete mode 100644 macros/medfilt1.bin delete mode 100644 macros/mexihat.bin delete mode 100644 macros/meyeraux.bin delete mode 100644 macros/midcross.bin delete mode 100644 macros/modulate.bin delete mode 100644 macros/morlet.bin delete mode 100644 macros/movingrms.bin create mode 100644 macros/mscohere.sci delete mode 100644 macros/musicBase.bin delete mode 100644 macros/ncauer.bin delete mode 100644 macros/nnls.bin delete mode 100644 macros/nuttallwin.bin delete mode 100644 macros/parzenwin.bin delete mode 100644 macros/pchip.bin delete mode 100644 macros/pchips.bin delete mode 100644 macros/peak2peak.bin delete mode 100644 macros/peak2rms.bin delete mode 100644 macros/pei_tseng_notch.bin delete mode 100644 macros/peig.bin delete mode 100644 macros/periodogram.bin delete mode 100644 macros/phaseInputParseAs_ab.bin delete mode 100644 macros/phaseInputParseAs_sos.bin delete mode 100644 macros/phasedelay.bin delete mode 100644 macros/phasez.bin delete mode 100644 macros/pmusic.bin delete mode 100644 macros/poly2ac.bin delete mode 100644 macros/poly2lsf.bin delete mode 100644 macros/poly2rc.bin delete mode 100644 macros/polyscale.bin delete mode 100644 macros/polystab.bin delete mode 100644 macros/polyval.bin delete mode 100644 macros/pow2db.bin delete mode 100644 macros/primitive.bin delete mode 100644 macros/prony.bin delete mode 100644 macros/pulseperiod.bin delete mode 100644 macros/pulsesep.bin delete mode 100644 macros/pulsewidth.bin delete mode 100644 macros/pulstran.bin delete mode 100644 macros/rc2ac.bin delete mode 100644 macros/rc2is.bin delete mode 100644 macros/rc2lar.bin delete mode 100644 macros/rc2poly.bin delete mode 100644 macros/rceps.bin delete mode 100644 macros/rcosdesign.bin delete mode 100644 macros/rectpuls.bin delete mode 100644 macros/rectwin.bin delete mode 100644 macros/remez1.bin delete mode 100644 macros/resample.bin delete mode 100644 macros/residued.bin delete mode 100644 macros/residuez.bin delete mode 100644 macros/risetime.bin delete mode 100644 macros/rlevinson.bin delete mode 100644 macros/rms.bin delete mode 100644 macros/rooteig.bin delete mode 100644 macros/rootmusic.bin delete mode 100644 macros/rssq.bin delete mode 100644 macros/sampled2continuous.bin delete mode 100644 macros/sawtooth.bin delete mode 100644 macros/schtrig.bin delete mode 100644 macros/schurrc.bin delete mode 100644 macros/seqperiod.bin delete mode 100644 macros/sgolay.bin delete mode 100644 macros/sgolayfilt.bin delete mode 100644 macros/shanwavf.bin delete mode 100644 macros/shiftdata.bin delete mode 100644 macros/sigmoid_train.bin delete mode 100644 macros/sinetone.bin delete mode 100644 macros/sinewave.bin delete mode 100644 macros/slewrate.bin delete mode 100644 macros/sos2cell.bin delete mode 100644 macros/sos2ss.bin delete mode 100644 macros/sos2tf.bin delete mode 100644 macros/sos2zp.bin delete mode 100644 macros/sosbreak.bin delete mode 100644 macros/sosfilt.bin delete mode 100644 macros/specgram.bin delete mode 100644 macros/spectral_adf.bin delete mode 100644 macros/spectral_xdf.bin delete mode 100644 macros/spencer.bin delete mode 100644 macros/ss2sos.bin delete mode 100644 macros/statelevels.bin delete mode 100644 macros/stft.bin delete mode 100644 macros/stmcb.bin delete mode 100644 macros/strips.bin delete mode 100644 macros/subspaceMethodsInputParser.bin delete mode 100644 macros/synthesis.bin delete mode 100644 macros/tf2sos.bin delete mode 100644 macros/tf2zp.bin delete mode 100644 macros/tf2zpk.bin delete mode 100644 macros/transpose.bin delete mode 100644 macros/trial_iirlp2mb.bin delete mode 100644 macros/triang.bin delete mode 100644 macros/tripuls.bin delete mode 100644 macros/truth.bin delete mode 100644 macros/tukeywin.bin delete mode 100644 macros/udecode.bin delete mode 100644 macros/uencode.bin delete mode 100644 macros/ultrwin.bin delete mode 100644 macros/unshiftdata.bin create mode 100644 macros/unwrap2.sci delete mode 100644 macros/upfirdn.bin delete mode 100644 macros/upsample.bin delete mode 100644 macros/upsamplefill.bin delete mode 100644 macros/var.bin delete mode 100644 macros/vco.bin delete mode 100644 macros/wconv.bin delete mode 100644 macros/welchwin.bin delete mode 100644 macros/window.bin delete mode 100644 macros/wkeep.bin delete mode 100644 macros/wrev.bin delete mode 100644 macros/xcorr2.bin delete mode 100644 macros/xcov1.bin delete mode 100644 macros/yulewalker.bin delete mode 100644 macros/zerocrossing.bin delete mode 100644 macros/zp2sos.bin delete mode 100644 macros/zp2ss.bin delete mode 100644 macros/zp2tf.bin delete mode 100644 macros/zplane.bin diff --git a/help/en_US/cceps.xml b/help/en_US/cceps.xml new file mode 100644 index 0000000..5c8779a --- /dev/null +++ b/help/en_US/cceps.xml @@ -0,0 +1,38 @@ + + + + + + + + cceps + Return the complex cepstrum of the vector x + + + + + Calling Sequence + + cceps (x) + cceps(x, correct) + + + + + Description + +This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this. + + + diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 613d48a..b1dc7df 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -20,6 +20,7 @@ + @@ -102,6 +103,7 @@ + @@ -191,6 +193,7 @@ + @@ -229,6 +232,7 @@ &ac9bfbd0f547b9f7951782fffc297ce8f; &a92ca529f2e4c50ecbb42fe6ac66b4ad7; &aac95818ba66b9133270a9b65f48f4512; +&a90ab60d82d7a54f62db9da2aa96abb62; &acc531aceceaba9ba5f63feb980982703; &a9763f77681100b2386601412d6c68a45; &a2e5fe5c92463618e3ac3eb6184a6514c; @@ -311,6 +315,7 @@ &a8b754f3c797b791b0773a17091b92d47; &a4409d7ece46667d2c6c236a19699a2db; &aae7674d788c35e75f2a52af92dc855bc; +&ab4b637128ca75fb1cef24e3cba016008; &a7022b9d1c7c194f27b1dd6bc4e093697; &aef8e0226f6126afb2453e659221e7330; &aecbf6dfa1f6fa4c17585ac7e4eff69ef; @@ -400,6 +405,7 @@ &ae56b79980853d5c39cda79745ad43e1c; &afb072dbcb7e8025a801eb32f37a69dfb; &a9cce784055276e298cf721d8e269c31c; +&a4fefe2dc30b34efba778dabc938cfb1a; &ad84d3dcc40317a06780d4e68cbec8db0; &a522ad212c78230cdbad7a4a0d8daaadd; &ad0a91e7320d3da715c8e58990f5397a4; diff --git a/help/en_US/mscohere.xml b/help/en_US/mscohere.xml new file mode 100644 index 0000000..0b68767 --- /dev/null +++ b/help/en_US/mscohere.xml @@ -0,0 +1,57 @@ + + + + + + + + mscohere + It estimate (mean square) coherence of signals x and y. + + + + + Calling Sequence + + [Pxx, freq] = mscohere (x, y) + [Pxx, freq] = mscohere (x, y, window) + [Pxx, freq] = mscohere (x, y, window, overlap) + [Pxx, freq] = mscohere (x, y, window, overlap, Nfft) + [Pxx, freq] = mscohere (x, y, window, overlap, Nfft, Fs) + [Pxx, freq] = mscohere (x, y, window, overlap, Nfft, Fs, range) + mscohere (...) + + + + + Description + +This function estimate (mean square) coherence of signals x and y. + + + + + Examples + + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 5a74719..8a34800 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 053c5ec..96145ac 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 2ec3c1b..e5dcf3e 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 041305c..675b3b8 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 677736a..67f95eb 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1967 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=1993 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 24e9f87..8001744 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index 61a8d3f..1843e44 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -22,6 +22,7 @@ + @@ -104,6 +105,7 @@ + @@ -193,6 +195,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 91a8471..ee5518c 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -22,6 +22,7 @@ + @@ -104,6 +105,7 @@ + @@ -193,6 +195,7 @@ + diff --git a/help/en_US/xcov1.xml b/help/en_US/xcov1.xml new file mode 100644 index 0000000..3872563 --- /dev/null +++ b/help/en_US/xcov1.xml @@ -0,0 +1,64 @@ + + + + + + + + xcov1 + Compute covariance at various lags [=correlation(x-mean(x),y-mean(y))]. + + + + + Calling Sequence + + [R, lag] = xcov (X) + ... = xcov (X, Y) + ... = xcov (..., maxlag) + ... = xcov (..., scale) + + + + + Parameters + + X: + Input vector + Y: + if specified, compute cross-covariance between X and Y, otherwise compute autocovariance of X. + maxlag: + is specified, use lag range [-maxlag:maxlag], otherwise use range [-n+1:n-1]. + scale: + + 'biased': + for covariance=raw/N, + 'unbiased': + for covariance=raw/(N-|lag|), + 'coeff': + for covariance=raw/(covariance at lag 0), + 'none': + for covariance=raw + 'none': + is the default. + + + + + Description + +Compute covariance at various lags [=correlation(x-mean(x),y-mean(y))]. Returns the covariance for each lag in the range, plus an optional vector of lags. + + + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 0c5e49e..20f69e8 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ac2poly.bin b/macros/ac2poly.bin deleted file mode 100644 index 5a1a177..0000000 Binary files a/macros/ac2poly.bin and /dev/null differ diff --git a/macros/ac2rc.bin b/macros/ac2rc.bin deleted file mode 100644 index 5bb60cf..0000000 Binary files a/macros/ac2rc.bin and /dev/null differ diff --git a/macros/arParEst.bin b/macros/arParEst.bin deleted file mode 100644 index 354bcea..0000000 Binary files a/macros/arParEst.bin and /dev/null differ diff --git a/macros/arburg.bin b/macros/arburg.bin deleted file mode 100644 index d0865cb..0000000 Binary files a/macros/arburg.bin and /dev/null differ diff --git a/macros/arcov.bin b/macros/arcov.bin deleted file mode 100644 index 2c23d8e..0000000 Binary files a/macros/arcov.bin and /dev/null differ diff --git a/macros/armcov.bin b/macros/armcov.bin deleted file mode 100644 index 6465aab..0000000 Binary files a/macros/armcov.bin and /dev/null differ diff --git a/macros/aryule.bin b/macros/aryule.bin deleted file mode 100644 index 336ebf3..0000000 Binary files a/macros/aryule.bin and /dev/null differ diff --git a/macros/autoreg_matrix.sci b/macros/autoreg_matrix.sci new file mode 100644 index 0000000..bc36969 --- /dev/null +++ b/macros/autoreg_matrix.sci @@ -0,0 +1,13 @@ +function y = autoreg_matrix(Y, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<2 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 2 then + y = callOctave("autoreg_matrix", Y, varargin(1)); + end +endfunction diff --git a/macros/barthannwin.bin b/macros/barthannwin.bin deleted file mode 100644 index 1b9ed25..0000000 Binary files a/macros/barthannwin.bin and /dev/null differ diff --git a/macros/bartlett.bin b/macros/bartlett.bin deleted file mode 100644 index 373d8c0..0000000 Binary files a/macros/bartlett.bin and /dev/null differ diff --git a/macros/besselap.bin b/macros/besselap.bin deleted file mode 100644 index 9794042..0000000 Binary files a/macros/besselap.bin and /dev/null differ diff --git a/macros/besself.bin b/macros/besself.bin deleted file mode 100644 index 69dbfd2..0000000 Binary files a/macros/besself.bin and /dev/null differ diff --git a/macros/bitrevorder.bin b/macros/bitrevorder.bin deleted file mode 100644 index f167fa0..0000000 Binary files a/macros/bitrevorder.bin and /dev/null differ diff --git a/macros/blackman.bin b/macros/blackman.bin deleted file mode 100644 index 020909f..0000000 Binary files a/macros/blackman.bin and /dev/null differ diff --git a/macros/blackmanharris.bin b/macros/blackmanharris.bin deleted file mode 100644 index c9760f6..0000000 Binary files a/macros/blackmanharris.bin and /dev/null differ diff --git a/macros/blackmannuttall.bin b/macros/blackmannuttall.bin deleted file mode 100644 index f242bc0..0000000 Binary files a/macros/blackmannuttall.bin and /dev/null differ diff --git a/macros/bohmanwin.bin b/macros/bohmanwin.bin deleted file mode 100644 index 53ea3a9..0000000 Binary files a/macros/bohmanwin.bin and /dev/null differ diff --git a/macros/boxcar.bin b/macros/boxcar.bin deleted file mode 100644 index 9f129da..0000000 Binary files a/macros/boxcar.bin and /dev/null differ diff --git a/macros/buffer.bin b/macros/buffer.bin deleted file mode 100644 index 7cb0a77..0000000 Binary files a/macros/buffer.bin and /dev/null differ diff --git a/macros/buttap.bin b/macros/buttap.bin deleted file mode 100644 index 10ce21e..0000000 Binary files a/macros/buttap.bin and /dev/null differ diff --git a/macros/butter.bin b/macros/butter.bin deleted file mode 100644 index 1ed2eaf..0000000 Binary files a/macros/butter.bin and /dev/null differ diff --git a/macros/buttord.bin b/macros/buttord.bin deleted file mode 100644 index a6cdc9c..0000000 Binary files a/macros/buttord.bin and /dev/null differ diff --git a/macros/cceps.bin b/macros/cceps.bin deleted file mode 100644 index cda9e36..0000000 Binary files a/macros/cceps.bin and /dev/null differ diff --git a/macros/cceps.sci b/macros/cceps.sci index 99e4a7d..8360085 100644 --- a/macros/cceps.sci +++ b/macros/cceps.sci @@ -1,5 +1,10 @@ function y = cceps (x,correct) - +//Return the complex cepstrum of the vector x +//Calling Sequence +//cceps (x) +//cceps(x, correct) +//Description +//This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this. funcprot(0); // rhs = argn(2) diff --git a/macros/cconv.bin b/macros/cconv.bin deleted file mode 100644 index 977d0b2..0000000 Binary files a/macros/cconv.bin and /dev/null differ diff --git a/macros/cell2sos.bin b/macros/cell2sos.bin deleted file mode 100644 index becc9e0..0000000 Binary files a/macros/cell2sos.bin and /dev/null differ diff --git a/macros/cheb.bin b/macros/cheb.bin deleted file mode 100644 index 28632eb..0000000 Binary files a/macros/cheb.bin and /dev/null differ diff --git a/macros/cheb1ap.bin b/macros/cheb1ap.bin deleted file mode 100644 index 7414b4a..0000000 Binary files a/macros/cheb1ap.bin and /dev/null differ diff --git a/macros/cheb1ord.bin b/macros/cheb1ord.bin deleted file mode 100644 index 7cf442d..0000000 Binary files a/macros/cheb1ord.bin and /dev/null differ diff --git a/macros/cheb2ap.bin b/macros/cheb2ap.bin deleted file mode 100644 index 558a95b..0000000 Binary files a/macros/cheb2ap.bin and /dev/null differ diff --git a/macros/cheb2ord.bin b/macros/cheb2ord.bin deleted file mode 100644 index b1602ec..0000000 Binary files a/macros/cheb2ord.bin and /dev/null differ diff --git a/macros/chebwin.bin b/macros/chebwin.bin deleted file mode 100644 index cd27563..0000000 Binary files a/macros/chebwin.bin and /dev/null differ diff --git a/macros/cheby1.bin b/macros/cheby1.bin deleted file mode 100644 index 5fff1f3..0000000 Binary files a/macros/cheby1.bin and /dev/null differ diff --git a/macros/cheby2.bin b/macros/cheby2.bin deleted file mode 100644 index f68fe52..0000000 Binary files a/macros/cheby2.bin and /dev/null differ diff --git a/macros/check.bin b/macros/check.bin deleted file mode 100644 index 678d4a0..0000000 Binary files a/macros/check.bin and /dev/null differ diff --git a/macros/chirp.bin b/macros/chirp.bin deleted file mode 100644 index 4251c53..0000000 Binary files a/macros/chirp.bin and /dev/null differ diff --git a/macros/clustersegment.bin b/macros/clustersegment.bin deleted file mode 100644 index fc1d371..0000000 Binary files a/macros/clustersegment.bin and /dev/null differ diff --git a/macros/cmorwavf.bin b/macros/cmorwavf.bin deleted file mode 100644 index ecaa435..0000000 Binary files a/macros/cmorwavf.bin and /dev/null differ diff --git a/macros/convmtx.bin b/macros/convmtx.bin deleted file mode 100644 index 1925e20..0000000 Binary files a/macros/convmtx.bin and /dev/null differ diff --git a/macros/corrmtx.bin b/macros/corrmtx.bin deleted file mode 100644 index 1a11222..0000000 Binary files a/macros/corrmtx.bin and /dev/null differ diff --git a/macros/cplxreal.bin b/macros/cplxreal.bin deleted file mode 100644 index c5c522b..0000000 Binary files a/macros/cplxreal.bin and /dev/null differ diff --git a/macros/cummax.bin b/macros/cummax.bin deleted file mode 100644 index 0dc047b..0000000 Binary files a/macros/cummax.bin and /dev/null differ diff --git a/macros/cummin.bin b/macros/cummin.bin deleted file mode 100644 index 860597d..0000000 Binary files a/macros/cummin.bin and /dev/null differ diff --git a/macros/czt.bin b/macros/czt.bin deleted file mode 100644 index a9cd8c5..0000000 Binary files a/macros/czt.bin and /dev/null differ diff --git a/macros/db.bin b/macros/db.bin deleted file mode 100644 index e46766c..0000000 Binary files a/macros/db.bin and /dev/null differ diff --git a/macros/db2pow.bin b/macros/db2pow.bin deleted file mode 100644 index d369ded..0000000 Binary files a/macros/db2pow.bin and /dev/null differ diff --git a/macros/dctmtx.bin b/macros/dctmtx.bin deleted file mode 100644 index 68472e5..0000000 Binary files a/macros/dctmtx.bin and /dev/null differ diff --git a/macros/decimate.bin b/macros/decimate.bin deleted file mode 100644 index ea34ac2..0000000 Binary files a/macros/decimate.bin and /dev/null differ diff --git a/macros/dftmtx.bin b/macros/dftmtx.bin deleted file mode 100644 index df1c875..0000000 Binary files a/macros/dftmtx.bin and /dev/null differ diff --git a/macros/diric.bin b/macros/diric.bin deleted file mode 100644 index 47eaa34..0000000 Binary files a/macros/diric.bin and /dev/null differ diff --git a/macros/downsample.bin b/macros/downsample.bin deleted file mode 100644 index 149a5cb..0000000 Binary files a/macros/downsample.bin and /dev/null differ diff --git a/macros/dst1.bin b/macros/dst1.bin deleted file mode 100644 index 91b23ca..0000000 Binary files a/macros/dst1.bin and /dev/null differ diff --git a/macros/dutycycle.bin b/macros/dutycycle.bin deleted file mode 100644 index 710c058..0000000 Binary files a/macros/dutycycle.bin and /dev/null differ diff --git a/macros/dwt.sci b/macros/dwt.sci new file mode 100644 index 0000000..60dc7f6 --- /dev/null +++ b/macros/dwt.sci @@ -0,0 +1,17 @@ +function [U, V] = dwt(X, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<2 | rhs>4) +error("Wrong number of input arguments."); +end + + select(rhs) + case 2 then + [U, V] = callOctave("dwt", X, varargin(1)); + case 3 then + [U, V] = callOctave("dwt", X, varargin(1), varargin(2)); + case 4 then + [U, V] = callOctave("dwt", X, varargin(1), varargin(2), varargin(3)); + end +endfunction diff --git a/macros/ellip.bin b/macros/ellip.bin deleted file mode 100644 index 2fda3a0..0000000 Binary files a/macros/ellip.bin and /dev/null differ diff --git a/macros/ellipap.bin b/macros/ellipap.bin deleted file mode 100644 index da6ce2e..0000000 Binary files a/macros/ellipap.bin and /dev/null differ diff --git a/macros/ellipord.bin b/macros/ellipord.bin deleted file mode 100644 index 60fca21..0000000 Binary files a/macros/ellipord.bin and /dev/null differ diff --git a/macros/enbw.bin b/macros/enbw.bin deleted file mode 100644 index 6dabe0e..0000000 Binary files a/macros/enbw.bin and /dev/null differ diff --git a/macros/eqtflength.bin b/macros/eqtflength.bin deleted file mode 100644 index 4aa5c4b..0000000 Binary files a/macros/eqtflength.bin and /dev/null differ diff --git a/macros/falltime.bin b/macros/falltime.bin deleted file mode 100644 index 318d449..0000000 Binary files a/macros/falltime.bin and /dev/null differ diff --git a/macros/fft.bin b/macros/fft.bin deleted file mode 100644 index 088707e..0000000 Binary files a/macros/fft.bin and /dev/null differ diff --git a/macros/fft2.bin b/macros/fft2.bin deleted file mode 100644 index dd6e2cc..0000000 Binary files a/macros/fft2.bin and /dev/null differ diff --git a/macros/fftconv.sci b/macros/fftconv.sci new file mode 100644 index 0000000..4ec2815 --- /dev/null +++ b/macros/fftconv.sci @@ -0,0 +1,15 @@ +function y = fftconv(X, Y, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<2 | rhs>3) +error("Wrong number of input arguments."); +end + + select(rhs) + case 2 then + y = callOctave("fftconv", X, Y); + case 3 then + y = callOctave("ifftn",X, Y, varargin(1)); + end +endfunction diff --git a/macros/fftfilt.bin b/macros/fftfilt.bin deleted file mode 100644 index 4ddcc74..0000000 Binary files a/macros/fftfilt.bin and /dev/null differ diff --git a/macros/fftn.sci b/macros/fftn.sci new file mode 100644 index 0000000..ba7f352 --- /dev/null +++ b/macros/fftn.sci @@ -0,0 +1,15 @@ +function y = fftn(A, SIZE) + +funcprot(0); +rhs = argn(2) +if(rhs<1 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 1 then + y = callOctave("fftn",A); + case 2 then + y = callOctave("fftn",A, SIZE); + end +endfunction diff --git a/macros/fht.bin b/macros/fht.bin deleted file mode 100644 index e97d7e4..0000000 Binary files a/macros/fht.bin and /dev/null differ diff --git a/macros/filter1.sci b/macros/filter1.sci new file mode 100644 index 0000000..2a17374 --- /dev/null +++ b/macros/filter1.sci @@ -0,0 +1,34 @@ +function [Y, SF] = filter1 (B, A, X, SI, DIM) + +funcprot(0); +lhs = argn(1) +rhs = argn(2) +if (rhs < 3 | rhs > 5) +error("Wrong number of input arguments.") +end + +select(rhs) + + case 3 then + if(lhs==1) + Y=callOctave("filter",B,A,X) + elseif(lhs==2) + [Y, SF] = callOctave("filter",B,A,X) + else + error("Wrong number of output arguments.") + end + case 4 then + if(lhs==2) + [Y, SF] = callOctave("filter",B,A,X,SI) + else + error("Wrong number of output arguments.") + end + case 5 then + if(lhs==2) + [Y, SF] = callOctave("filter",B,A,X,SI,DIM) + else + error("Wrong number of output arguments.") + end + + end +endfunction diff --git a/macros/filter2.sci b/macros/filter2.sci new file mode 100644 index 0000000..82f3f0b --- /dev/null +++ b/macros/filter2.sci @@ -0,0 +1,18 @@ +function Y = filter2 (B, X, SHAPE) + +funcprot(0); +lhs = argn(1) +rhs = argn(2) +if (rhs < 2 | rhs > 3) +error("Wrong number of input arguments.") +end + +select(rhs) + + case 2 then + Y=callOctave("filter2",B,X) + case 3 then + Y = callOctave("filter2",B,X,SHAPE) + end + +endfunction diff --git a/macros/filternorm.bin b/macros/filternorm.bin deleted file mode 100644 index 8e15a18..0000000 Binary files a/macros/filternorm.bin and /dev/null differ diff --git a/macros/filtfilt.bin b/macros/filtfilt.bin deleted file mode 100644 index ada5742..0000000 Binary files a/macros/filtfilt.bin and /dev/null differ diff --git a/macros/filtic.bin b/macros/filtic.bin deleted file mode 100644 index cd79ea4..0000000 Binary files a/macros/filtic.bin and /dev/null differ diff --git a/macros/filtord.bin b/macros/filtord.bin deleted file mode 100644 index dd4f7ed..0000000 Binary files a/macros/filtord.bin and /dev/null differ diff --git a/macros/fir1.sci b/macros/fir1.sci new file mode 100644 index 0000000..e3ff152 --- /dev/null +++ b/macros/fir1.sci @@ -0,0 +1,19 @@ +function B = fir1(N, W, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<2 | rhs>5) +error("Wrong number of input arguments."); +end + + select(rhs) + case 2 then + B = callOctave("fir1", N, W); + case 3 then + B = callOctave("fir1", N, W, varargin(1)); + case 4 then + B = callOctave("fir1", N, W, varargin(1), varargin(2)); + case 5 then + B = callOctave("fir1", N, W, varargin(1), varargin(2), varargin(3)); + end +endfunction diff --git a/macros/fir2.sci b/macros/fir2.sci new file mode 100644 index 0000000..418a9e4 --- /dev/null +++ b/macros/fir2.sci @@ -0,0 +1,19 @@ +function B = fir2(N, F, M, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<3 | rhs>6) +error("Wrong number of input arguments."); +end + + select(rhs) + case 3 then + B = callOctave("fir2", N, F, M); + case 4 then + B = callOctave("fir2", N, F, M, varargin(1)); + case 5 then + B = callOctave("fir2", N, F, M, varargin(1), varargin(2)); + case 6 then + B = callOctave("fir2", N, F, M, varargin(1), varargin(2), varargin(3)); + end +endfunction diff --git a/macros/firpmord.bin b/macros/firpmord.bin deleted file mode 100644 index 8f8dddd..0000000 Binary files a/macros/firpmord.bin and /dev/null differ diff --git a/macros/firtype.bin b/macros/firtype.bin deleted file mode 100644 index 411b2de..0000000 Binary files a/macros/firtype.bin and /dev/null differ diff --git a/macros/flattopwin.bin b/macros/flattopwin.bin deleted file mode 100644 index f9795b4..0000000 Binary files a/macros/flattopwin.bin and /dev/null differ diff --git a/macros/fracshift.bin b/macros/fracshift.bin deleted file mode 100644 index 989ab10..0000000 Binary files a/macros/fracshift.bin and /dev/null differ diff --git a/macros/freqs.bin b/macros/freqs.bin deleted file mode 100644 index 066c156..0000000 Binary files a/macros/freqs.bin and /dev/null differ diff --git a/macros/fwhm.bin b/macros/fwhm.bin deleted file mode 100644 index 38e0180..0000000 Binary files a/macros/fwhm.bin and /dev/null differ diff --git a/macros/fwhmjlt.bin b/macros/fwhmjlt.bin deleted file mode 100644 index 98edf6c..0000000 Binary files a/macros/fwhmjlt.bin and /dev/null differ diff --git a/macros/fwht.bin b/macros/fwht.bin deleted file mode 100644 index e2b1d80..0000000 Binary files a/macros/fwht.bin and /dev/null differ diff --git a/macros/gauspuls.bin b/macros/gauspuls.bin deleted file mode 100644 index 7ed8b82..0000000 Binary files a/macros/gauspuls.bin and /dev/null differ diff --git a/macros/gaussdesign.bin b/macros/gaussdesign.bin deleted file mode 100644 index 8b05521..0000000 Binary files a/macros/gaussdesign.bin and /dev/null differ diff --git a/macros/gaussian.bin b/macros/gaussian.bin deleted file mode 100644 index 472d182..0000000 Binary files a/macros/gaussian.bin and /dev/null differ diff --git a/macros/gausswin.bin b/macros/gausswin.bin deleted file mode 100644 index 8133cd0..0000000 Binary files a/macros/gausswin.bin and /dev/null differ diff --git a/macros/gmonopuls.bin b/macros/gmonopuls.bin deleted file mode 100644 index bc0bcfb..0000000 Binary files a/macros/gmonopuls.bin and /dev/null differ diff --git a/macros/goertzel.bin b/macros/goertzel.bin deleted file mode 100644 index b1af7e2..0000000 Binary files a/macros/goertzel.bin and /dev/null differ diff --git a/macros/grpdelay.bin b/macros/grpdelay.bin deleted file mode 100644 index be071e0..0000000 Binary files a/macros/grpdelay.bin and /dev/null differ diff --git a/macros/hann.bin b/macros/hann.bin deleted file mode 100644 index 6d9679a..0000000 Binary files a/macros/hann.bin and /dev/null differ diff --git a/macros/hanning.bin b/macros/hanning.bin deleted file mode 100644 index fc3aa94..0000000 Binary files a/macros/hanning.bin and /dev/null differ diff --git a/macros/helperHarmonicDistortionAmplifier.bin b/macros/helperHarmonicDistortionAmplifier.bin deleted file mode 100644 index e577060..0000000 Binary files a/macros/helperHarmonicDistortionAmplifier.bin and /dev/null differ diff --git a/macros/hilbert1.bin b/macros/hilbert1.bin deleted file mode 100644 index 11ff749..0000000 Binary files a/macros/hilbert1.bin and /dev/null differ diff --git a/macros/hurst.bin b/macros/hurst.bin deleted file mode 100644 index f723804..0000000 Binary files a/macros/hurst.bin and /dev/null differ diff --git a/macros/icceps.bin b/macros/icceps.bin deleted file mode 100644 index 937de63..0000000 Binary files a/macros/icceps.bin and /dev/null differ diff --git a/macros/idct1.bin b/macros/idct1.bin deleted file mode 100644 index 3ef1c7e..0000000 Binary files a/macros/idct1.bin and /dev/null differ diff --git a/macros/idct2.bin b/macros/idct2.bin deleted file mode 100644 index d577764..0000000 Binary files a/macros/idct2.bin and /dev/null differ diff --git a/macros/idst1.bin b/macros/idst1.bin deleted file mode 100644 index 448ee7e..0000000 Binary files a/macros/idst1.bin and /dev/null differ diff --git a/macros/ifft.bin b/macros/ifft.bin deleted file mode 100644 index 1c95870..0000000 Binary files a/macros/ifft.bin and /dev/null differ diff --git a/macros/ifft2.bin b/macros/ifft2.bin deleted file mode 100644 index bcd3a09..0000000 Binary files a/macros/ifft2.bin and /dev/null differ diff --git a/macros/ifftn.sci b/macros/ifftn.sci new file mode 100644 index 0000000..269a77d --- /dev/null +++ b/macros/ifftn.sci @@ -0,0 +1,15 @@ +function y = ifftn(A, varargin) + +funcprot(0); +rhs = argn(2) +if(rhs<1 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 1 then + y = callOctave("ifftn",A); + case 2 then + y = callOctave("ifftn",A, varargin(1)); + end +endfunction diff --git a/macros/ifht.bin b/macros/ifht.bin deleted file mode 100644 index 7cab709..0000000 Binary files a/macros/ifht.bin and /dev/null differ diff --git a/macros/ifwht.bin b/macros/ifwht.bin deleted file mode 100644 index 2acef55..0000000 Binary files a/macros/ifwht.bin and /dev/null differ diff --git a/macros/iirlp2mb.bin b/macros/iirlp2mb.bin deleted file mode 100644 index 4459654..0000000 Binary files a/macros/iirlp2mb.bin and /dev/null differ diff --git a/macros/impinvar.bin b/macros/impinvar.bin deleted file mode 100644 index bc5bea1..0000000 Binary files a/macros/impinvar.bin and /dev/null differ diff --git a/macros/impz.bin b/macros/impz.bin deleted file mode 100644 index eb1ef54..0000000 Binary files a/macros/impz.bin and /dev/null differ diff --git a/macros/impzlength.bin b/macros/impzlength.bin deleted file mode 100644 index 147b140..0000000 Binary files a/macros/impzlength.bin and /dev/null differ diff --git a/macros/interp.bin b/macros/interp.bin deleted file mode 100644 index 36fbbe1..0000000 Binary files a/macros/interp.bin and /dev/null differ diff --git a/macros/intfilt.bin b/macros/intfilt.bin deleted file mode 100644 index 3a02288..0000000 Binary files a/macros/intfilt.bin and /dev/null differ diff --git a/macros/invfreq.bin b/macros/invfreq.bin deleted file mode 100644 index a13ae55..0000000 Binary files a/macros/invfreq.bin and /dev/null differ diff --git a/macros/invimpinvar.bin b/macros/invimpinvar.bin deleted file mode 100644 index a5f115f..0000000 Binary files a/macros/invimpinvar.bin and /dev/null differ diff --git a/macros/is2rc.bin b/macros/is2rc.bin deleted file mode 100644 index 325d4b5..0000000 Binary files a/macros/is2rc.bin and /dev/null differ diff --git a/macros/isallpass.bin b/macros/isallpass.bin deleted file mode 100644 index 6f27769..0000000 Binary files a/macros/isallpass.bin and /dev/null differ diff --git a/macros/isfir.bin b/macros/isfir.bin deleted file mode 100644 index c9670a9..0000000 Binary files a/macros/isfir.bin and /dev/null differ diff --git a/macros/islinphase.bin b/macros/islinphase.bin deleted file mode 100644 index 2f00f5e..0000000 Binary files a/macros/islinphase.bin and /dev/null differ diff --git a/macros/ismaxphase.bin b/macros/ismaxphase.bin deleted file mode 100644 index 3684e9a..0000000 Binary files a/macros/ismaxphase.bin and /dev/null differ diff --git a/macros/isminphase.bin b/macros/isminphase.bin deleted file mode 100644 index fc1991d..0000000 Binary files a/macros/isminphase.bin and /dev/null differ diff --git a/macros/isstable.bin b/macros/isstable.bin deleted file mode 100644 index 304c4be..0000000 Binary files a/macros/isstable.bin and /dev/null differ diff --git a/macros/kaiser.bin b/macros/kaiser.bin deleted file mode 100644 index 4e00979..0000000 Binary files a/macros/kaiser.bin and /dev/null differ diff --git a/macros/lar2rc.bin b/macros/lar2rc.bin deleted file mode 100644 index 16ad37f..0000000 Binary files a/macros/lar2rc.bin and /dev/null differ diff --git a/macros/latc2tf.bin b/macros/latc2tf.bin deleted file mode 100644 index 96fbc64..0000000 Binary files a/macros/latc2tf.bin and /dev/null differ diff --git a/macros/latcfilt.bin b/macros/latcfilt.bin deleted file mode 100644 index 3887ce0..0000000 Binary files a/macros/latcfilt.bin and /dev/null differ diff --git a/macros/latcfilt1.bin b/macros/latcfilt1.bin deleted file mode 100644 index 72f06d8..0000000 Binary files a/macros/latcfilt1.bin and /dev/null differ diff --git a/macros/levdown.bin b/macros/levdown.bin deleted file mode 100644 index 06045ae..0000000 Binary files a/macros/levdown.bin and /dev/null differ diff --git a/macros/levin.bin b/macros/levin.bin deleted file mode 100644 index 87a4029..0000000 Binary files a/macros/levin.bin and /dev/null differ diff --git a/macros/levinson.bin b/macros/levinson.bin deleted file mode 100644 index 55ad79d..0000000 Binary files a/macros/levinson.bin and /dev/null differ diff --git a/macros/lib b/macros/lib index 5284c80..aed9de3 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/lpc.bin b/macros/lpc.bin deleted file mode 100644 index ccaf9d9..0000000 Binary files a/macros/lpc.bin and /dev/null differ diff --git a/macros/lsf2poly.bin b/macros/lsf2poly.bin deleted file mode 100644 index 4c20636..0000000 Binary files a/macros/lsf2poly.bin and /dev/null differ diff --git a/macros/mag2db.bin b/macros/mag2db.bin deleted file mode 100644 index 58186d6..0000000 Binary files a/macros/mag2db.bin and /dev/null differ diff --git a/macros/marcumq.bin b/macros/marcumq.bin deleted file mode 100644 index 187ddfa..0000000 Binary files a/macros/marcumq.bin and /dev/null differ diff --git a/macros/medfilt1.bin b/macros/medfilt1.bin deleted file mode 100644 index d5cc06f..0000000 Binary files a/macros/medfilt1.bin and /dev/null differ diff --git a/macros/mexihat.bin b/macros/mexihat.bin deleted file mode 100644 index 9e4879d..0000000 Binary files a/macros/mexihat.bin and /dev/null differ diff --git a/macros/meyeraux.bin b/macros/meyeraux.bin deleted file mode 100644 index 5d3239f..0000000 Binary files a/macros/meyeraux.bin and /dev/null differ diff --git a/macros/midcross.bin b/macros/midcross.bin deleted file mode 100644 index a5e182d..0000000 Binary files a/macros/midcross.bin and /dev/null differ diff --git a/macros/modulate.bin b/macros/modulate.bin deleted file mode 100644 index 169b209..0000000 Binary files a/macros/modulate.bin and /dev/null differ diff --git a/macros/morlet.bin b/macros/morlet.bin deleted file mode 100644 index f00e186..0000000 Binary files a/macros/morlet.bin and /dev/null differ diff --git a/macros/movingrms.bin b/macros/movingrms.bin deleted file mode 100644 index 720357d..0000000 Binary files a/macros/movingrms.bin and /dev/null differ diff --git a/macros/mscohere.sci b/macros/mscohere.sci new file mode 100644 index 0000000..357da58 --- /dev/null +++ b/macros/mscohere.sci @@ -0,0 +1,82 @@ +function [PXX, FREQ] = mscohere (X, Y, WINDOW, OVERLAP, NFFT, FS, RANGE) +//It estimate (mean square) coherence of signals x and y. +//Calling Sequence +//[Pxx, freq] = mscohere (x, y) +//[Pxx, freq] = mscohere (x, y, window) +//[Pxx, freq] = mscohere (x, y, window, overlap) +//[Pxx, freq] = mscohere (x, y, window, overlap, Nfft) +//[Pxx, freq] = mscohere (x, y, window, overlap, Nfft, Fs) +//[Pxx, freq] = mscohere (x, y, window, overlap, Nfft, Fs, range) +//mscohere (...) +//Description +//This function estimate (mean square) coherence of signals x and y. +//Examples +//[Pxx, freq] = mscohere(4,5) +//ans = +//PXX = +// Nan +// 1 +//FREQ = +// 0 +// 0.5 +funcprot(0); +lhs = argn(1) +rhs = argn(2) +if (rhs < 2 | rhs > 7) +error("Wrong number of input arguments.") +end + +select(rhs) + + case 2 then + if(lhs==0) + callOctave("mscohere",X,Y) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y) + else + error("Wrong number of output arguments.") + end + + case 3 then + if(lhs==0) + callOctave("mscohere",X,Y,WINDOW) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y,WINDOW) + else + error("Wrong number of output arguments.") + end + case 4 then + if(lhs==0) + callOctave("mscohere",X,Y,WINDOW,OVERLAP) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y,WINDOW,OVERLAP) + else + error("Wrong number of output arguments.") + end + case 5 then + if(lhs==0) + callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT) + else + error("Wrong number of output arguments.") + end + case 6 then + if(lhs==0) + callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT,FS) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT,FS) + else + error("Wrong number of output arguments.") + end + case 7 then + if(lhs==0) + callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT,FS,RANGE,) + elseif(lhs==2) + [PXX, FREQ] = callOctave("mscohere",X,Y,WINDOW,OVERLAP,NFFT,FS,RANGE) + else + error("Wrong number of output arguments.") + end + end +endfunction + diff --git a/macros/musicBase.bin b/macros/musicBase.bin deleted file mode 100644 index 884ae30..0000000 Binary files a/macros/musicBase.bin and /dev/null differ diff --git a/macros/names b/macros/names index 4bd1ddd..06ad552 100644 --- a/macros/names +++ b/macros/names @@ -5,6 +5,7 @@ arburg arcov armcov aryule +autoreg_matrix barthannwin bartlett besselap @@ -49,6 +50,7 @@ diric downsample dst1 dutycycle +dwt ellip ellipap ellipord @@ -57,12 +59,18 @@ eqtflength falltime fft fft2 +fftconv fftfilt +fftn fht +filter1 +filter2 filternorm filtfilt filtic filtord +fir1 +fir2 firpmord firtype flattopwin @@ -89,6 +97,7 @@ idct2 idst1 ifft ifft2 +ifftn ifht ifwht iirlp2mb @@ -125,6 +134,7 @@ midcross modulate morlet movingrms +mscohere musicBase ncauer nnls @@ -216,6 +226,7 @@ udecode uencode ultrwin unshiftdata +unwrap2 upfirdn upsample upsamplefill diff --git a/macros/ncauer.bin b/macros/ncauer.bin deleted file mode 100644 index 0886fbd..0000000 Binary files a/macros/ncauer.bin and /dev/null differ diff --git a/macros/nnls.bin b/macros/nnls.bin deleted file mode 100644 index 616c06a..0000000 Binary files a/macros/nnls.bin and /dev/null differ diff --git a/macros/nuttallwin.bin b/macros/nuttallwin.bin deleted file mode 100644 index 92c09d6..0000000 Binary files a/macros/nuttallwin.bin and /dev/null differ diff --git a/macros/parzenwin.bin b/macros/parzenwin.bin deleted file mode 100644 index ce71bf1..0000000 Binary files a/macros/parzenwin.bin and /dev/null differ diff --git a/macros/pchip.bin b/macros/pchip.bin deleted file mode 100644 index b698e26..0000000 Binary files a/macros/pchip.bin and /dev/null differ diff --git a/macros/pchips.bin b/macros/pchips.bin deleted file mode 100644 index 37e0ef5..0000000 Binary files a/macros/pchips.bin and /dev/null differ diff --git a/macros/peak2peak.bin b/macros/peak2peak.bin deleted file mode 100644 index 263e5aa..0000000 Binary files a/macros/peak2peak.bin and /dev/null differ diff --git a/macros/peak2rms.bin b/macros/peak2rms.bin deleted file mode 100644 index 70f16dc..0000000 Binary files a/macros/peak2rms.bin and /dev/null differ diff --git a/macros/pei_tseng_notch.bin b/macros/pei_tseng_notch.bin deleted file mode 100644 index 40cd414..0000000 Binary files a/macros/pei_tseng_notch.bin and /dev/null differ diff --git a/macros/peig.bin b/macros/peig.bin deleted file mode 100644 index 88c349f..0000000 Binary files a/macros/peig.bin and /dev/null differ diff --git a/macros/periodogram.bin b/macros/periodogram.bin deleted file mode 100644 index 39bdd96..0000000 Binary files a/macros/periodogram.bin and /dev/null differ diff --git a/macros/phaseInputParseAs_ab.bin b/macros/phaseInputParseAs_ab.bin deleted file mode 100644 index 6e216df..0000000 Binary files a/macros/phaseInputParseAs_ab.bin and /dev/null differ diff --git a/macros/phaseInputParseAs_sos.bin b/macros/phaseInputParseAs_sos.bin deleted file mode 100644 index fedc3ac..0000000 Binary files a/macros/phaseInputParseAs_sos.bin and /dev/null differ diff --git a/macros/phasedelay.bin b/macros/phasedelay.bin deleted file mode 100644 index 01e0684..0000000 Binary files a/macros/phasedelay.bin and /dev/null differ diff --git a/macros/phasez.bin b/macros/phasez.bin deleted file mode 100644 index 6b0a1e7..0000000 Binary files a/macros/phasez.bin and /dev/null differ diff --git a/macros/pmusic.bin b/macros/pmusic.bin deleted file mode 100644 index 1533f71..0000000 Binary files a/macros/pmusic.bin and /dev/null differ diff --git a/macros/poly2ac.bin b/macros/poly2ac.bin deleted file mode 100644 index 5bdccd5..0000000 Binary files a/macros/poly2ac.bin and /dev/null differ diff --git a/macros/poly2lsf.bin b/macros/poly2lsf.bin deleted file mode 100644 index 35db930..0000000 Binary files a/macros/poly2lsf.bin and /dev/null differ diff --git a/macros/poly2rc.bin b/macros/poly2rc.bin deleted file mode 100644 index 69952b4..0000000 Binary files a/macros/poly2rc.bin and /dev/null differ diff --git a/macros/polyscale.bin b/macros/polyscale.bin deleted file mode 100644 index 7d77a5c..0000000 Binary files a/macros/polyscale.bin and /dev/null differ diff --git a/macros/polystab.bin b/macros/polystab.bin deleted file mode 100644 index 09a8acb..0000000 Binary files a/macros/polystab.bin and /dev/null differ diff --git a/macros/polyval.bin b/macros/polyval.bin deleted file mode 100644 index 1375c8e..0000000 Binary files a/macros/polyval.bin and /dev/null differ diff --git a/macros/pow2db.bin b/macros/pow2db.bin deleted file mode 100644 index 7cc69ea..0000000 Binary files a/macros/pow2db.bin and /dev/null differ diff --git a/macros/primitive.bin b/macros/primitive.bin deleted file mode 100644 index d83a446..0000000 Binary files a/macros/primitive.bin and /dev/null differ diff --git a/macros/prony.bin b/macros/prony.bin deleted file mode 100644 index 12ea4f9..0000000 Binary files a/macros/prony.bin and /dev/null differ diff --git a/macros/pulseperiod.bin b/macros/pulseperiod.bin deleted file mode 100644 index b995439..0000000 Binary files a/macros/pulseperiod.bin and /dev/null differ diff --git a/macros/pulsesep.bin b/macros/pulsesep.bin deleted file mode 100644 index 3da9b7a..0000000 Binary files a/macros/pulsesep.bin and /dev/null differ diff --git a/macros/pulsewidth.bin b/macros/pulsewidth.bin deleted file mode 100644 index 6bb29af..0000000 Binary files a/macros/pulsewidth.bin and /dev/null differ diff --git a/macros/pulstran.bin b/macros/pulstran.bin deleted file mode 100644 index 0bfe42a..0000000 Binary files a/macros/pulstran.bin and /dev/null differ diff --git a/macros/rc2ac.bin b/macros/rc2ac.bin deleted file mode 100644 index b50257c..0000000 Binary files a/macros/rc2ac.bin and /dev/null differ diff --git a/macros/rc2is.bin b/macros/rc2is.bin deleted file mode 100644 index eda8763..0000000 Binary files a/macros/rc2is.bin and /dev/null differ diff --git a/macros/rc2lar.bin b/macros/rc2lar.bin deleted file mode 100644 index c8e33b7..0000000 Binary files a/macros/rc2lar.bin and /dev/null differ diff --git a/macros/rc2poly.bin b/macros/rc2poly.bin deleted file mode 100644 index 187d0cd..0000000 Binary files a/macros/rc2poly.bin and /dev/null differ diff --git a/macros/rceps.bin b/macros/rceps.bin deleted file mode 100644 index ff10b98..0000000 Binary files a/macros/rceps.bin and /dev/null differ diff --git a/macros/rcosdesign.bin b/macros/rcosdesign.bin deleted file mode 100644 index 652e766..0000000 Binary files a/macros/rcosdesign.bin and /dev/null differ diff --git a/macros/rectpuls.bin b/macros/rectpuls.bin deleted file mode 100644 index a61a830..0000000 Binary files a/macros/rectpuls.bin and /dev/null differ diff --git a/macros/rectwin.bin b/macros/rectwin.bin deleted file mode 100644 index 88d68f5..0000000 Binary files a/macros/rectwin.bin and /dev/null differ diff --git a/macros/remez1.bin b/macros/remez1.bin deleted file mode 100644 index 43589d0..0000000 Binary files a/macros/remez1.bin and /dev/null differ diff --git a/macros/resample.bin b/macros/resample.bin deleted file mode 100644 index d70f8df..0000000 Binary files a/macros/resample.bin and /dev/null differ diff --git a/macros/residued.bin b/macros/residued.bin deleted file mode 100644 index 222dc28..0000000 Binary files a/macros/residued.bin and /dev/null differ diff --git a/macros/residuez.bin b/macros/residuez.bin deleted file mode 100644 index 5a04712..0000000 Binary files a/macros/residuez.bin and /dev/null differ diff --git a/macros/risetime.bin b/macros/risetime.bin deleted file mode 100644 index d8af143..0000000 Binary files a/macros/risetime.bin and /dev/null differ diff --git a/macros/rlevinson.bin b/macros/rlevinson.bin deleted file mode 100644 index 864f1db..0000000 Binary files a/macros/rlevinson.bin and /dev/null differ diff --git a/macros/rms.bin b/macros/rms.bin deleted file mode 100644 index c757115..0000000 Binary files a/macros/rms.bin and /dev/null differ diff --git a/macros/rooteig.bin b/macros/rooteig.bin deleted file mode 100644 index a07e660..0000000 Binary files a/macros/rooteig.bin and /dev/null differ diff --git a/macros/rootmusic.bin b/macros/rootmusic.bin deleted file mode 100644 index 8d40df3..0000000 Binary files a/macros/rootmusic.bin and /dev/null differ diff --git a/macros/rssq.bin b/macros/rssq.bin deleted file mode 100644 index 3401b22..0000000 Binary files a/macros/rssq.bin and /dev/null differ diff --git a/macros/sampled2continuous.bin b/macros/sampled2continuous.bin deleted file mode 100644 index 49a325a..0000000 Binary files a/macros/sampled2continuous.bin and /dev/null differ diff --git a/macros/sawtooth.bin b/macros/sawtooth.bin deleted file mode 100644 index 19e5aeb..0000000 Binary files a/macros/sawtooth.bin and /dev/null differ diff --git a/macros/schtrig.bin b/macros/schtrig.bin deleted file mode 100644 index d89c725..0000000 Binary files a/macros/schtrig.bin and /dev/null differ diff --git a/macros/schurrc.bin b/macros/schurrc.bin deleted file mode 100644 index c484ac0..0000000 Binary files a/macros/schurrc.bin and /dev/null differ diff --git a/macros/seqperiod.bin b/macros/seqperiod.bin deleted file mode 100644 index 8c9af6f..0000000 Binary files a/macros/seqperiod.bin and /dev/null differ diff --git a/macros/sgolay.bin b/macros/sgolay.bin deleted file mode 100644 index 14ab743..0000000 Binary files a/macros/sgolay.bin and /dev/null differ diff --git a/macros/sgolayfilt.bin b/macros/sgolayfilt.bin deleted file mode 100644 index a834dab..0000000 Binary files a/macros/sgolayfilt.bin and /dev/null differ diff --git a/macros/shanwavf.bin b/macros/shanwavf.bin deleted file mode 100644 index 300bc07..0000000 Binary files a/macros/shanwavf.bin and /dev/null differ diff --git a/macros/shiftdata.bin b/macros/shiftdata.bin deleted file mode 100644 index ef78b01..0000000 Binary files a/macros/shiftdata.bin and /dev/null differ diff --git a/macros/sigmoid_train.bin b/macros/sigmoid_train.bin deleted file mode 100644 index 438d657..0000000 Binary files a/macros/sigmoid_train.bin and /dev/null differ diff --git a/macros/sinetone.bin b/macros/sinetone.bin deleted file mode 100644 index 0c7254b..0000000 Binary files a/macros/sinetone.bin and /dev/null differ diff --git a/macros/sinewave.bin b/macros/sinewave.bin deleted file mode 100644 index e5535c2..0000000 Binary files a/macros/sinewave.bin and /dev/null differ diff --git a/macros/slewrate.bin b/macros/slewrate.bin deleted file mode 100644 index 55c9162..0000000 Binary files a/macros/slewrate.bin and /dev/null differ diff --git a/macros/sos2cell.bin b/macros/sos2cell.bin deleted file mode 100644 index 924a4b6..0000000 Binary files a/macros/sos2cell.bin and /dev/null differ diff --git a/macros/sos2ss.bin b/macros/sos2ss.bin deleted file mode 100644 index 03d1147..0000000 Binary files a/macros/sos2ss.bin and /dev/null differ diff --git a/macros/sos2tf.bin b/macros/sos2tf.bin deleted file mode 100644 index 31a8c0e..0000000 Binary files a/macros/sos2tf.bin and /dev/null differ diff --git a/macros/sos2zp.bin b/macros/sos2zp.bin deleted file mode 100644 index 34e81b4..0000000 Binary files a/macros/sos2zp.bin and /dev/null differ diff --git a/macros/sosbreak.bin b/macros/sosbreak.bin deleted file mode 100644 index de8d621..0000000 Binary files a/macros/sosbreak.bin and /dev/null differ diff --git a/macros/sosfilt.bin b/macros/sosfilt.bin deleted file mode 100644 index 3d70709..0000000 Binary files a/macros/sosfilt.bin and /dev/null differ diff --git a/macros/specgram.bin b/macros/specgram.bin deleted file mode 100644 index 9ce781f..0000000 Binary files a/macros/specgram.bin and /dev/null differ diff --git a/macros/spectral_adf.bin b/macros/spectral_adf.bin deleted file mode 100644 index f0cdacf..0000000 Binary files a/macros/spectral_adf.bin and /dev/null differ diff --git a/macros/spectral_xdf.bin b/macros/spectral_xdf.bin deleted file mode 100644 index 78678da..0000000 Binary files a/macros/spectral_xdf.bin and /dev/null differ diff --git a/macros/spencer.bin b/macros/spencer.bin deleted file mode 100644 index 4808d26..0000000 Binary files a/macros/spencer.bin and /dev/null differ diff --git a/macros/ss2sos.bin b/macros/ss2sos.bin deleted file mode 100644 index 9dd7ba3..0000000 Binary files a/macros/ss2sos.bin and /dev/null differ diff --git a/macros/statelevels.bin b/macros/statelevels.bin deleted file mode 100644 index acdb468..0000000 Binary files a/macros/statelevels.bin and /dev/null differ diff --git a/macros/stft.bin b/macros/stft.bin deleted file mode 100644 index 6766353..0000000 Binary files a/macros/stft.bin and /dev/null differ diff --git a/macros/stmcb.bin b/macros/stmcb.bin deleted file mode 100644 index 3fecc2b..0000000 Binary files a/macros/stmcb.bin and /dev/null differ diff --git a/macros/strips.bin b/macros/strips.bin deleted file mode 100644 index 45199f3..0000000 Binary files a/macros/strips.bin and /dev/null differ diff --git a/macros/subspaceMethodsInputParser.bin b/macros/subspaceMethodsInputParser.bin deleted file mode 100644 index e2ae41b..0000000 Binary files a/macros/subspaceMethodsInputParser.bin and /dev/null differ diff --git a/macros/synthesis.bin b/macros/synthesis.bin deleted file mode 100644 index e9730e4..0000000 Binary files a/macros/synthesis.bin and /dev/null differ diff --git a/macros/tf2sos.bin b/macros/tf2sos.bin deleted file mode 100644 index e0e70a9..0000000 Binary files a/macros/tf2sos.bin and /dev/null differ diff --git a/macros/tf2zp.bin b/macros/tf2zp.bin deleted file mode 100644 index 2cfc2ce..0000000 Binary files a/macros/tf2zp.bin and /dev/null differ diff --git a/macros/tf2zpk.bin b/macros/tf2zpk.bin deleted file mode 100644 index ed110d1..0000000 Binary files a/macros/tf2zpk.bin and /dev/null differ diff --git a/macros/transpose.bin b/macros/transpose.bin deleted file mode 100644 index 4531927..0000000 Binary files a/macros/transpose.bin and /dev/null differ diff --git a/macros/trial_iirlp2mb.bin b/macros/trial_iirlp2mb.bin deleted file mode 100644 index 89171e5..0000000 Binary files a/macros/trial_iirlp2mb.bin and /dev/null differ diff --git a/macros/triang.bin b/macros/triang.bin deleted file mode 100644 index 67e8d99..0000000 Binary files a/macros/triang.bin and /dev/null differ diff --git a/macros/tripuls.bin b/macros/tripuls.bin deleted file mode 100644 index 644e9f3..0000000 Binary files a/macros/tripuls.bin and /dev/null differ diff --git a/macros/truth.bin b/macros/truth.bin deleted file mode 100644 index 492d7d9..0000000 Binary files a/macros/truth.bin and /dev/null differ diff --git a/macros/tukeywin.bin b/macros/tukeywin.bin deleted file mode 100644 index f625c8b..0000000 Binary files a/macros/tukeywin.bin and /dev/null differ diff --git a/macros/udecode.bin b/macros/udecode.bin deleted file mode 100644 index 10ee70d..0000000 Binary files a/macros/udecode.bin and /dev/null differ diff --git a/macros/uencode.bin b/macros/uencode.bin deleted file mode 100644 index 3edffa8..0000000 Binary files a/macros/uencode.bin and /dev/null differ diff --git a/macros/ultrwin.bin b/macros/ultrwin.bin deleted file mode 100644 index 6bd2dbe..0000000 Binary files a/macros/ultrwin.bin and /dev/null differ diff --git a/macros/unshiftdata.bin b/macros/unshiftdata.bin deleted file mode 100644 index 08df42c..0000000 Binary files a/macros/unshiftdata.bin and /dev/null differ diff --git a/macros/unwrap2.sci b/macros/unwrap2.sci new file mode 100644 index 0000000..5b19283 --- /dev/null +++ b/macros/unwrap2.sci @@ -0,0 +1,20 @@ +function Y = unwrap2 (X, TOL, DIM) + +funcprot(0); +lhs = argn(1) +rhs = argn(2) +if (rhs < 1 | rhs > 3) +error("Wrong number of input arguments.") +end + +select(rhs) + + case 1 then + Y = callOctave("unwrap",X) + case 2 then + Y = callOctave("unwrap",X,TOL) + case 3 then + Y = callOctave("unwrap",X,TOL,DIM) + end + +endfunction diff --git a/macros/upfirdn.bin b/macros/upfirdn.bin deleted file mode 100644 index 8d5a99d..0000000 Binary files a/macros/upfirdn.bin and /dev/null differ diff --git a/macros/upsample.bin b/macros/upsample.bin deleted file mode 100644 index 5195035..0000000 Binary files a/macros/upsample.bin and /dev/null differ diff --git a/macros/upsamplefill.bin b/macros/upsamplefill.bin deleted file mode 100644 index b447000..0000000 Binary files a/macros/upsamplefill.bin and /dev/null differ diff --git a/macros/var.bin b/macros/var.bin deleted file mode 100644 index ca8d571..0000000 Binary files a/macros/var.bin and /dev/null differ diff --git a/macros/vco.bin b/macros/vco.bin deleted file mode 100644 index 5c063f2..0000000 Binary files a/macros/vco.bin and /dev/null differ diff --git a/macros/wconv.bin b/macros/wconv.bin deleted file mode 100644 index f174e54..0000000 Binary files a/macros/wconv.bin and /dev/null differ diff --git a/macros/welchwin.bin b/macros/welchwin.bin deleted file mode 100644 index 3323c77..0000000 Binary files a/macros/welchwin.bin and /dev/null differ diff --git a/macros/window.bin b/macros/window.bin deleted file mode 100644 index fe7e1ef..0000000 Binary files a/macros/window.bin and /dev/null differ diff --git a/macros/wkeep.bin b/macros/wkeep.bin deleted file mode 100644 index a659931..0000000 Binary files a/macros/wkeep.bin and /dev/null differ diff --git a/macros/wrev.bin b/macros/wrev.bin deleted file mode 100644 index f4baf3d..0000000 Binary files a/macros/wrev.bin and /dev/null differ diff --git a/macros/xcorr2.bin b/macros/xcorr2.bin deleted file mode 100644 index 795bfe4..0000000 Binary files a/macros/xcorr2.bin and /dev/null differ diff --git a/macros/xcov1.bin b/macros/xcov1.bin deleted file mode 100644 index 9a57ca5..0000000 Binary files a/macros/xcov1.bin and /dev/null differ diff --git a/macros/xcov1.sci b/macros/xcov1.sci index 4c1f37e..b0bff93 100644 --- a/macros/xcov1.sci +++ b/macros/xcov1.sci @@ -1,4 +1,22 @@ function [R,lag] = xcov1(X, Y, biasflag) +// Compute covariance at various lags [=correlation(x-mean(x),y-mean(y))]. +//Calling Sequence +//[R, lag] = xcov (X) +//... = xcov (X, Y) +//... = xcov (..., maxlag) +//... = xcov (..., scale) +//Parameters +//X: Input vector +//Y: if specified, compute cross-covariance between X and Y, otherwise compute autocovariance of X. +//maxlag: is specified, use lag range [-maxlag:maxlag], otherwise use range [-n+1:n-1]. +//scale: +// 'biased': for covariance=raw/N, +// 'unbiased': for covariance=raw/(N-|lag|), +// 'coeff': for covariance=raw/(covariance at lag 0), +// 'none': for covariance=raw +// 'none': is the default. +//Description +//Compute covariance at various lags [=correlation(x-mean(x),y-mean(y))]. Returns the covariance for each lag in the range, plus an optional vector of lags. funcprot(0); rhs = argn(2) diff --git a/macros/yulewalker.bin b/macros/yulewalker.bin deleted file mode 100644 index 388c88b..0000000 Binary files a/macros/yulewalker.bin and /dev/null differ diff --git a/macros/zerocrossing.bin b/macros/zerocrossing.bin deleted file mode 100644 index d6b1655..0000000 Binary files a/macros/zerocrossing.bin and /dev/null differ diff --git a/macros/zp2sos.bin b/macros/zp2sos.bin deleted file mode 100644 index 08c8b1f..0000000 Binary files a/macros/zp2sos.bin and /dev/null differ diff --git a/macros/zp2ss.bin b/macros/zp2ss.bin deleted file mode 100644 index b8ab377..0000000 Binary files a/macros/zp2ss.bin and /dev/null differ diff --git a/macros/zp2tf.bin b/macros/zp2tf.bin deleted file mode 100644 index 2597b7d..0000000 Binary files a/macros/zp2tf.bin and /dev/null differ diff --git a/macros/zplane.bin b/macros/zplane.bin deleted file mode 100644 index 43396b8..0000000 Binary files a/macros/zplane.bin and /dev/null differ -- cgit From 7e43ae8d200a7da15ad458f5bb83582d0e389ce7 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Mon, 27 Nov 2017 16:40:37 +0530 Subject: Merge --- help/en_US/hamming.xml | 48 ++ help/en_US/hanning.xml | 27 +- help/en_US/hilbert1.xml | 2 +- help/en_US/master_help.xml | 870 +++++++++++---------- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 23582 -> 13071 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 3723 -> 1735 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 1518 -> 834 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 100456 -> 56223 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 26760 -> 26624 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 1 + help/en_US/scilab_en_US_help/jhelptoc.xml | 1 + jar/scilab_en_US_help.jar | Bin 671974 -> 386404 bytes macros/hamming.sci | 10 + macros/hanning.sci | 11 +- macros/hilbert1.sci | 2 +- macros/lib | Bin 6318 -> 6552 bytes macros/names | 2 + 18 files changed, 578 insertions(+), 398 deletions(-) create mode 100644 help/en_US/hamming.xml diff --git a/help/en_US/hamming.xml b/help/en_US/hamming.xml new file mode 100644 index 0000000..9a072e8 --- /dev/null +++ b/help/en_US/hamming.xml @@ -0,0 +1,48 @@ + + + + + + + + hamming + Return the filter coefficients of a Hamming window of length M + + + + + Calling Sequence + + hamming (M) + hamming (M, "periodic") + hamming (M, "symmetric") + + + + + Parameters + + M: + real scalar, which will be the length of hamming window + + + + + Description + +Return the filter coefficients of a Hamming window of length M. +If the optional argument "periodic" is given, the periodic form of the window is returned. This is equivalent to the window of length M+1 with the last coefficient removed. The optional argument "symmetric" is equivalent to not specifying a second argument. + + + diff --git a/help/en_US/hanning.xml b/help/en_US/hanning.xml index dc1e475..5350656 100644 --- a/help/en_US/hanning.xml +++ b/help/en_US/hanning.xml @@ -17,7 +17,32 @@ hanning - + Return the filter coefficients of a Hanning window of length M + + + Calling Sequence + + hanning (M) + hanning (M, "periodic") + hanning (M, "symmetric") + + + + + Parameters + + M: + real scalar, which will be the length of hanning window + + + + + Description + +Return the filter coefficients of a Hanning window of length M. +If the optional argument "periodic" is given, the periodic form of the window is returned. This is equivalent to the window of length M+1 with the last coefficient removed. The optional argument "symmetric" is equivalent to not specifying a second argument. + + diff --git a/help/en_US/hilbert1.xml b/help/en_US/hilbert1.xml index 3d4ab42..765d670 100644 --- a/help/en_US/hilbert1.xml +++ b/help/en_US/hilbert1.xml @@ -45,7 +45,7 @@ Description -h = hilbert (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. +h = hilbert1 (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. real (h) contains the original signal f. imag (h) contains the Hilbert transform of f. diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index b1dc7df..29bb0db 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -1,202 +1,244 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> FOSSEE Signal Processing Toolbox - + FOSSEE Signal Processing Toolbox -&abc34d904268ea0d68878f95dd4dc2b31; -&afada58a5f5efa94bcba150f3d7ef37ec; -&af43cf87eec8e014a9baf4bdd9f091652; -&aeb72ef6afa5caac6c0198bf06e8d8d39; -&aaa1106b0c11e3c85c5fd3b254546d61d; -&ae9004011d22c5c9b12dc2e54d6812b21; -&a4caa34fab913bd6c4272de961a55bca2; -&a25e614283dd3e99e0fb093d1db465868; -&a0c94bc97d460f725b92f352b99c87e60; -&aa116b32936e2bbc43a1851815477dc50; -&a717bcfb5b33c5617b6df4a88a35825db; -&a2e363437a83944ea4bbda8ba05793277; -&ab875fac05c1cb152e9967692ffbdd97d; -&ac5b61ab1229ad20d8229654f2a877f9e; -&a67d33687ff3441293c015e9f53640d4b; -&aa33653ce5f6a767a34177a92dad8831d; -&ac9bfbd0f547b9f7951782fffc297ce8f; -&a92ca529f2e4c50ecbb42fe6ac66b4ad7; -&aac95818ba66b9133270a9b65f48f4512; -&a90ab60d82d7a54f62db9da2aa96abb62; -&acc531aceceaba9ba5f63feb980982703; -&a9763f77681100b2386601412d6c68a45; -&a2e5fe5c92463618e3ac3eb6184a6514c; -&a3d1f4797b814d4d10c4b1cd0a2316e6e; -&a68acc0f447018aa08e92e1d6480e95fb; -&ae603f65da6a3448e705b61733191f7e1; -&a489b609c7baa2574b60744c9a166b350; -&a87213ae4b598affb9e51c3ff77957951; -&a89b1c9d29d8ea8a842fbbbff731a4ccf; -&aeec63d2941febda586e272ca0d7e09e9; -&ae2ea4b53ce51be512488c507ba5c1a97; -&a2a8b19d4177c255e54f833c3e9c12de4; -&af5072b843b624620f72a1118678bb51c; -&a219b5a6958a48155175d7f125e0225b6; -&a4892c6c6a094e865579eaa9fa0a1e315; -&a20ba3985f003711dfcd6ae4a8aed4da3; -&a498a173a5431d9ca778f08732ad009a3; -&aa34b60fddd5a0bc48a0e0bdb88c05f5e; -&af72c46e1f46388131554d782c87bdca6; -&a56ca039cf45f00657429ca5b3ffdba4d; -&aad227216b9d9295f4e5f8bd814752253; -&a81fd5d7c924a096b87772397a39e4120; -&ac98a73fed750316df035079d993cb1bb; -&a5cfe9eeac1c4924f6a0caf3e1840568d; -&ad14407366297f5e3bf8f6ffdcca387f7; -&a51500db596c6a52603289ec898acc619; -&aeaa1b542fe025ff3036e68a9da64527d; -&ac3468da1f742c3072a382a126c9cfd90; -&acf22d1bd8ee068dd275bed4ba7de0bb0; -&aaf23de4d23842978c02d8fc01d0f8d89; -&a1bb421658889ced3f6956d6d223af831; -&a041cc2a85cc205a5280ff2cae0565aad; -&ab9bfb86cd1cf6ba152f3c449acb53388; -&ac5190b237eb80bce61bbb4731ebceaee; -&a54eab5301da6f8ad94a0fc666a534f62; -&aa76196c36e5195482e23ee95909d6a4c; -&a02e375d7ce5589ce592ef3e186e8c6a5; -&ab4ef5778ac13a477d0131b5d8dade1e4; -&a76e1e372415f1013b0f4fd861c56f2ea; -&ad08ce8e4fb40cfb3416c522ca5738730; -&ac2cf40da1bec1c1f630828ed99d9fa7c; -&a235f867faca505720e2e2fc0dc7523ee; -&a5acb91e6d8e981bd43ac949272ce5fc1; -&a0c437c94f4c9554d2eadc1299bc201c6; -&a34b064123c25ed2a3df8772bc9148fa4; -&a27489d7d314a41da10ff2ea221dc99bd; -&a4a70061acbb347c0c6dbc7efc58a825b; -&a050f686ed9bf3b9bbaeafa85839f88ea; -&a6907d352bc8acb64f7672236214e003a; -&ab7d38187b4f79ff0529d4c4c08b1d633; -&a600b90a016f69bf4507022af617c8112; -&a130a6a07303e6d40c88cc13f0df4f677; -&a47f33d823a99a5b6ba0700bd44f2eedb; -&ad090a8d9058532d5b76d3c76f0927647; -&ac086f90347e9bff367792faa5b55509c; -&a80d3837625985b4ea64c9fb8d21a2154; -&a00aa26c59c877bc3fe918913a5da59df; -&a7b1fc3f4b6f003df1d6b163f86ac2cc3; -&ae4939978b945c2ba1d557b03cae30f84; -&a290d00bd7c190f11aaa874430258d909; -&ac1eea02afda4611561e359db55539ef3; -&a5471ee2b25863bf6a2f32aa99bf0b1c8; -&a56bbf2b805d1f7e17247cef64ba19333; -&a37b6cebea1cde28601d71ea61001135f; -&ab1ff3a3177d5412fce2d774a0cbb8c04; -&ad4faf7dd15d7fd892712492de869c180; -&a4a3dadddb6771053aa2c974bfa0c7b4a; -&acdd93d2eb52543e9e5e06a19b2be5300; -&a3322b2e8d12982e95f7abd7c07be5d83; -&a405effc0095937f90e8796ab83a45b38; -&ae537f60631062b3ad18ef244696dd073; -&ab70a5bb921a249a9b2de0cc6b84dfcac; -&a5eb03112f6aff7cf39f302d26b66f51d; -&a9c1d71942abd1f1624fcfb3e40024f17; -&ae4765bc27b678fde77e1a1e12d0312e1; -&acd281019889eb8f2a87aa9bbfdfff93e; -&a24442538c82a64f05197b0685b94062e; -&adebab30e287f1744d68510915dd3dca3; -&af192b03d06b90eb3dfd41194c886a010; -&a8b754f3c797b791b0773a17091b92d47; -&a4409d7ece46667d2c6c236a19699a2db; -&aae7674d788c35e75f2a52af92dc855bc; -&ab4b637128ca75fb1cef24e3cba016008; -&a7022b9d1c7c194f27b1dd6bc4e093697; -&aef8e0226f6126afb2453e659221e7330; -&aecbf6dfa1f6fa4c17585ac7e4eff69ef; -&a2d885644b44b3b9676bb9522b2302d9e; -&acc65fd8696943e1a4b7a1515adfac26d; -&aeae065e98e5caf4232a0aecc3a78dae6; -&a4ca7eb2183d94674b01f6b4d20a0a8f3; -&a2e2ff138201e7a3c659cc2e16a226ea5; -&a418de0bebfad1312e130535833127f08; -&a96429758f8b959e506c7a66d5b360b54; -&a917d366f9f46037f6a8e01126615b102; -&a772a38fab08d7eabf51280d2ceb5d8d9; -&aa9a5966969f01fa9d4edd7ff3423f006; -&a91870007b51d3fd0800610d83a035fde; -&a816b52645e1bf16373e1a72ea585a009; -&af5fb964c532696b13e8a01d8f16fe052; -&a0276d0be96a5fa3418c6a444c4b85442; -&af86865824018a287588e17662223dcaa; -&a4d7ecaad3186ac096d933689e251a1c2; -&a44f0c49020c51a70c39d3853e515495d; -&afcfb3d20fc86ed90b62e99fbf0ca8fd0; -&a5585324c3dd5301043788660ce0f36ca; -&a69a13bf7bf2c2d1704ddebfff33c94be; -&ab1453252bafa29241202516166a9f783; -&a6db0813748b2ce47693ca82e8208bbb8; -&a7d6411a5dd16d795cf44bbe48c3289ad; -&a15e621608a3503fb64669da1d9ca8619; -&a7c72c8a8d7d554e521e83060089815fa; -&a7c8bf8293a571fb2d6d94dc53959266a; -&ab54c5530e341558ddfc71ec8ffb45aac; -&a9b8b0d208fe7a2581097650c4eed31bf; -&a9fa8430a1f63fbea843dbadf6aa070ab; -&a9114be05b5cf59a0cffc8921b4d5f918; -&a9b1d2e56d8d2907f6b9fb0f20f641573; -&a8f8cb27d2a1e48303a9597f4e60e731b; -&a050b38bceab9f2dd907cbbb0d14ab2f4; -&a716d878bc9e3e1fb19a5357ef70823f7; -&a6afb5f3f3514b7e47d13299e5064d0af; -&aa8df37d359b12284be2e59d98627db73; -&a111a8fca523b8646d1eb526a08cb5f10; -&a8c6457516ccc6e7306473da4a6b17fd9; -&a55b3b05f765c3883176f3139680ee4c0; -&a941c0f7793607300f531db0534ec3698; -&a7f91887a7293318872b7170cf01404c3; -&abaa1ff6608a326ef22ef237cdf7dc0c1; -&ab1b710cbacc3b7e1934f3ee160f6f21e; -&a92ee012c477116f5f712c772e9cf4642; -&a90aa1e8c11381cf0903d47492fe76003; -&a19e3effbd0be032c384f4d29f088b26b; -&a962cc0afc86fe9cfb3c725b2fb3fc8a7; -&a23b2c788dac918bb541cee278c217004; -&a375c8e3fce488c88fd2ad58e421cb109; -&a05ea7008eb727c478f18a19acf34e221; -&a9058a43e855325dd2da653945e7c5317; -&ab55327a4128934be29626f54b82503e3; -&a18ff41a908bdd56dea489618073337b1; -&a92170f9f580f031accbbfc82dd265808; -&a80926c0c0f8f3797be07e7275c8dcdb5; -&a72cacbd2a95ba7e1c27d8220b58a1681; -&a625e1803c72496b56195689f9388f40e; -&a1cdc594306227014fb9570da9fdfaba5; -&aaa714a94f0c1e251775fd03f088f3589; -&af64d9784de8ecdcce28f1963d081aa2a; -&a76a6fdb476060a229f6bb52e29d99667; -&a984843fd00f52de0c91d72a2f2d35c60; -&aa68766b620d78caaa210ddf54e4740c6; -&a9498b8e51ebd5d30b14e4ae51f11a0e4; -&a414cd2bf4fbb0240eb4cb3cc3193e8a5; -&a92393e692247c0be55c2903ed953eb1f; -&ae56eae8fd9fe4b5607eb687d41a62a8d; -&a2613023045f6fa97a511ae290196314e; -&aa402b99039e77ec462ad76fb8b80b145; -&ab8d6a07007057c840f1b7afc44a04a38; -&a71e0df8a7f16e193b7907129844a566b; -&a61f5fce0a9ccf631897caf0b1580cb79; -&a98e791bec81dfb22d09ccc4e1cebf498; -&a8169e81c662c3c6f99fcfd31a716f003; -&a61486111f2c5646c41de7852a40890d3; -&a9ba6cffd73212e01a5a1cf48c370f31b; -&a5ff4fb227aad23a52510b08738d06635; -&a624b692de7106f79b52675e6f6e864db; -&ab5ec2471f2a87567d2eda164da9cfc88; -&a7f2f6a5c9d5ae84e00a33bc655680cbc; -&a86c828962a88c80762ba774eb4689015; -&a1ec494594cb2a65f69a4c305135a03dc; -&a3024e7b1d5ec82a1746c1bb317b05bdd; -&ae56b79980853d5c39cda79745ad43e1c; -&afb072dbcb7e8025a801eb32f37a69dfb; -&a9cce784055276e298cf721d8e269c31c; -&a4fefe2dc30b34efba778dabc938cfb1a; -&ad84d3dcc40317a06780d4e68cbec8db0; -&a522ad212c78230cdbad7a4a0d8daaadd; -&ad0a91e7320d3da715c8e58990f5397a4; +&a231328952124a7e187905e71aaf9cee0; +&acc27042e738d175d1131be40ac8443e4; +&a00c7c9f2a0021ff13869dce3b90df38c; +&a2801dc954ec6ac2e1c314367aab7316b; +&aa86636858e7127f17b93747fc8f3ec30; +&a2804cc9a113729444d60d8cf3c14b554; +&a78af20f681c48f8ec298b379b34418b7; +&af1b518d74e5b9c0251ecb1df257eb407; +&af8a337c857d4b373e49c0032acb1370f; +&a8db037e6c34a1ac0f7db27577e08e15d; +&a31f48c823b3b36a8c44e96ff54eaf66a; +&a4965260600d5ae3055dc940551b4155a; +&a203e8f0f36fcdb6d7dab204312a41134; +&a33562ce8ee2b64f5e49f771f94e64714; +&a2ead104a959d0030deacd8bfd726d641; +&affed76d132b047f7e7dd7feaf7460b96; +&a9a73fbe4c732d8d281a15b9c56b66cd7; +&af063a7c3d52b3fc249eccfea5477233a; +&a6b85a8141239aa12da5fd722e12764c5; +&ac13ce08d83a0b050bbcd34097be69474; +&a3ac1d95c0377fbd5021c9ab3878d3381; +&a8bfbf0158cec14ad1852c16a1bcd1a9f; +&aad687051b3ff18c103250462607b8bfe; +&ae12b60324a0fd39a6eaeaa29154462d3; +&a952ffa1c6ec05774d717ea1a51c966c7; +&a63809fd4817619e419316a6fb51f2478; +&a67189797ee7307d2f12d2d9db1429d16; +&a6f811f8e27e331fa279fc0462a6dd852; +&af57064694f5b9424a2fb945bab08663a; +&a788630ff50c6129a3217a8b029fdb706; +&ad67eb98c7a334e2ccd2584c52d1f7490; +&a9aaa53086cfad7fff7a9568a895c584e; +&a80fd0493bf42ae683bb78ef95ecc8ff1; +&a1dc032779f7ba8e8f69e8f79dfb144d5; +&a5bf1548e6f5419396992c7e5fee10e44; +&a675cd787aff166461d9e9da55d591875; +&adc56a73851265426ed0c3db40f3a0d2e; +&a3d40cac540363daecb58818938d2b1d3; +&ad2840257a4ded4da25428645e8a8fd22; +&abaaa2a634a57347cfaeb3f75cc42b298; +&ae8d01defeace3e366cfdce71da71d5e2; +&a76e2baa7f20cd4d2b517c7f65f4b0a87; +&a438b318f3a65f8e10cb292c16ee48d3d; +&a012dc78292d46d1a6bfdd411607796ae; +&a4c9381ac38659e2e9ccdf89e9aec08f9; +&a732f6e560fa62dcfe2137f94ce0b812b; +&a8e9030fad0ea16388695b20a07e04334; +&a3ffbb42a185eaf6b62029b6efc883d6b; +&ac93a3534190eae2db767de3935ad4fbc; +&afe6460b06ca50c9c2d156ea6806d2ed9; +&a52aa309fac8ef71cd8d143ac51969fe0; +&aa0ecb21a4fba74cd96dd91d64d4f13ef; +&a54ce5c2d68eb85b370486a8657432e59; +&ae7e31ef8153e0b43af5b7d3b54f281b8; +&a0d95063280ebe0c559bd51e94d6809cb; +&a528ea74a7c6d6e7453f0a50c2b96a9ee; +&ae0c094a4d283763517f2a9d8dc2d47dd; +&a61dce7ba646ca92aaf5a1ba090aa25e4; +&ad146f651e2b3ae0f2c4548c9d31b9324; +&a093a9f733664f253ef62c57cbfd1f345; +&ad9f3946f61509aa68a6555cc8e1e89c4; +&a0b5dd6bfc7c995741ff59cb1f2e6bd9d; +&a6f9f6be023cda42def4540ebe4a826ad; +&ab3a31ebfc4f38ef5c568256700871cf9; +&aaadfeefbe7128b3e19dfcf58d9259fba; +&a73e8c044770a7cfd905f857689a6baa1; +&a94e89cc06baa492675fb0ba33b84c454; +&a19950da21e14157b78311a84cf566c31; +&a997024f7f60a0e9b5b06fb25b4549196; +&a60063fcaf779858435eab52d0438f7c0; +&a5b1b81f5a27ba264b58d0ede7bf40d6e; +&aaa8fd7d64f02100f0ff4b9f5a601b502; +&a6c84bcba9eda7daf35794f2c2b1cfc36; +&a5a10dacc8f7724140837e716eefea546; +&a241d399410079c666c88bab68b4bd8b6; +&a6091479f1738a3f05872855ff81f767e; +&a79d0e19a419a4da0e9852a883c56e875; +&acbf561fbe774483d5bdd6bb94f356c92; +&a829161f2b17c647cab27ce7e4e177861; +&a09f64c6e5d7a6e94067ecb6f99796457; +&ad615141134f915d2325d00926eea7422; +&a277e25e2845fbbffbb98cb9bd813d43e; +&a350fe0538e119f50421b72fb0177d862; +&a89a8d615b106b54285bf3493164dde99; +&a5d806f19e64dff92d1430af2e3d36434; +&a93018e4b205ad1077ed39b70108ab6f5; +&a564da052a4377e3262d3e2eaaff74169; +&a55af75fd2a9b6cd5cd41835b0a2cc3b9; +&af8c65bd6904096611c2566ec57c5b032; +&a6fd54fa41c0d83b890ecda9094cd757f; +&a9a5ec7990aa1e0ee187582dfea2e2f18; +&a6c98b32822a438724a01bbbc3c6e8972; +&a414728f3a3bc742adaead017680e9eb1; +&a2992435e7a3da65808422b5922e44afd; +&a056e2f09f5221e8999a0fea1c1fa878d; +&a9142e379fc897ce07ddb4601b5f6eff9; +&adc184a6cbbaa2bb5ce1233a789ac1f35; +&a05f89038eb00b07e70e0873d8d1dfdbd; +&a2fb2ab4d09d36ef1d84d3666c77ea926; +&a3d73ca698d63b8e1aca3d442d62d67c8; +&a17c1049c0e838c40c3d0c6330a1ed18e; +&a9f42719de3232f6757f8f9645f04d2ba; +&aa2dde2bdf03f823c2c8bcbe7c32ac6f5; +&a1341fabc85cc66d9215f09a3b3389f21; +&a9582da81a2996f4949f3a56504ac7af0; +&af06621ea64b7432870e0c9de816a7a3f; +&aedaf12b58709e4d66d9594c045e7fab9; +&a076a06248e94759c2531feb6af82b4b2; +&a550cb394018ff7036f3bf7ed85cd894a; +&aadd3778bbb3c69186062e83df88617b6; +&ae880c6aad471ddeadec92a73990a8916; +&a3a1de36d214f8b24968c347990a780ca; +&afd0accae740fccac83b6e58da7ad7f67; +&aaff1fbd30d203394a0065360948cb552; +&a64409832c5b89c298638be3ae481e2db; +&a94b0fd913cff757ba932421487806ce2; +&a501538e66b60a9dad666d8feebebc808; +&a2cd55936714d73ab7cfc5b191e1ab310; +&a5100d9ea14ecae777adf29449f8326bd; +&a5d96b63e9d96e401c886dc2e59f352ae; +&a7eb314d0aac7fe50a8b374d1fe09224a; +&a5f1fdcf4bd80a0fdc97b1a66dc3d6126; +&aa6381ef62e04401a281532a2b26866e4; +&ab54549e25f72917f5984976326446806; +&aad2ae34d6eb1330043839076bfe50370; +&a2cb9870e7f3797bd8079af0d6bd72c2a; +&a6f84b9f7d14410ce7b79c7e06629063c; +&ab20a31499c13238dfad5e6a9a47494a8; +&a61d7d15c9f4c0556b04a98e7f4cd299c; +&af78d47b6f1d4f40097f16df906159928; +&a39a1a3343fe803f4afaf048b8d1570f3; +&a0d9a41d49a4663bd5ae6e17bce7f3f9d; +&ae90b90188af214c9b4bfbfd5186a57e3; +&ab8ccec6c3405c19a470f1f3ca558ad07; +&a454451daa892c02d56805334a51be93f; +&ac1059f65770cbb8f7e8f63040d89272e; +&a66543787f73f1ce1e7be63649b30a3c7; +&acc1420fa4419b0f270ad3f8d342a3462; +&a61595e565a64e6b77b85a8028a66eea6; +&a995c78b83fbbea551450e7012f13797f; +&a0442ccd02553bee97fde66f2838895ba; +&a87c50c8b5be2390300fbfe46bb1ca120; +&a02d1bdbd42659a3e4019d0498b14f321; +&a9d6134bc5259cb5aeb088a6de56a1ec1; +&aa37bf7c43823e017babd5e030e712970; +&a9781f4c56bafacf94214fc66102348a2; +&a169ef193b097a09b6d3ffec52f5f1485; +&acc6ca2c4223c6eb2605224fd487187d2; +&a29996fb75db3d782680d4ca3f521df92; +&afd9713fe61540255e892066b5137e59d; +&aa980f3c9624ae005414c12d7a877509e; +&a7d2647c034f43a9251e2db288609a1b7; +&a882da254da001f466eb31bbd41361a56; +&a9bbded342cd4ef28c778daaa3422204c; +&a19ce5d9910772e73e9e89012e50e7b00; +&a345e02cd34c617dbd3421a2105685535; +&a6801e6f009157396cae1b490394153e1; +&aaa07642adb4af69e9b9b0e253ee2e09e; +&a822b7b0a550b48a6c61f5d82f34fb2a6; +&a0fb1810de5f83ec9ef3044ef50bea460; +&a3be9e2c9b768acd0dd7364298b0bfee5; +&a29e745c3794d5108d4133e8779cc61f7; +&ae7f0ecf1810506f8d5417e97c2d11615; +&ad59b2b322970b02a5fb9d524a71f7beb; +&af8807cd3a5d1b02d4a288e796360fe2a; +&a29e9c3d00fcd3169bd8354488b4977cb; +&ad7cebbbaa3e2ced9e0c9182662c86b8a; +&a6fbe2bc6ace27b1a7b3efaae322ab6dc; +&ac5914c0be89a4c4439097765c0e7cecc; +&a6da361fad125fe561580436a66d9d7bc; +&ad2dfb1b46cc492f8d323e1b72dc22728; +&ab2e4570e0024f556a50f7fe8da8ba151; +&a04ef233b467060d4578b43b8971f38a3; +&ac097cbdcb4b28badcff3616e968aa3f7; +&a6352349298514ffd575c2367e13c14b3; +&a9ab8a24e5b3bc5753cc3cb6cb6de74b8; +&a299d9f2b3a06d39e69e093804117f40f; +&a712e3325216084f0ff29f772a41abce2; +&a4ce9f761027a046b75fe3e665393082f; +&a06bd86308806c0555e5fd4bf92e2b769; +&ae3cd6a4ac731b860300da199c84af7a9; +&a492bcb2ea4cbe2a4a1f7c0a6d0054c29; +&acfde8a4181328405e0f648d4aa9b843b; +&ab3cbb2aaaf730a032674d18bc031731a; +&a877d0d12418f2bbc520a5d1403d62a32; +&af5fec193153f2dad9515f9b81d500410; +&a0c7f7373d0deae4317b309d407e54ed0; +&a4298bff4e637e7043203de25a4709e86; +&a82677926514040027d5aeb5f81dc9208; +&aa6b76788e36e0d6d7d2c1ec5d1604798; +&aea7524fc34de97fc745d01ae564677a1; +&a10a36960bde6b0639f4f358216f704cf; +&a5feba38524659afdbe4015b645b45f4e; +&a862e51cacd34ba79921d6ba8fadc2e3d; +&ab3f2bf2ab34afc8e14ff23ada59fb889; +&ad5fcb6a854ea4ab1a826c2cfe506037e; +&ad6371d5f083f4ac4fd57fa369e3cce7f; +&a050855b5f4f81d6e0c1778748ef21573; +&acfaa379418f785d6abf7e7745da20005; +&ab64c40cd49111b8db8a276e394939be8; +&a6d63448e238679b1ffcf82bb12f3ab56; +&a22391101c208e4851f12b2d38b1c940b; +&adbd99bd46c01b285deaa3bcc1d9c6c42; +&a55d26e66ea1393dcf99b7df5ba827b79; +&a4d46b917ce6f500dce168ee18a1d17e6; +&a1456cb0354e92a694fa9311ee5362daf; +&af974230baefb26fbc56264ee4ddd9e72; +&a74b148e7e471bd9f170cd4dc3087d2c9; +&a243b79cdb976d4f432450ea744ca236c; +&a9187ccad1c55b5cd1a5a900b17f2104b; +&a805a0ed4cae04e01f29ecf5f82345622; +&a6e3552f90470c430b16dca28da599068; +&aff0a00518280d05c9d58a7de46b1b160; +&a5f191b2f9a255115bd43ce5e8c9dfe46; +&ab455e53fbe01264634cd4b2a4eb4c907; +&af62b68dd386718f8d27cb4d8364b8335; +&ad88190c86ecf59da91f5e21feb3a23c1; +&a735fd0a0700e104dbe5abbcd22ab616d; +&a378bace2a9b27a9198f9ffc3ba4efcb2; +&a64dae20703f14187621c3e22fca1ebe9; +&ac34fae293643ed52873e880dddf91bc1; +&a97101bd7eb46f1029e6ea2a054d405ac; +&aab35d1b77962f2054fd115ad6f8eb120; +&a1d535975c3fb7e7d8a0f9658e1c0f6c0; +&a091c9c305748e84d41eca16f78e2995f; +&a41d68bfcb502a6ea6c94d0fdc154323b; +&aee101979a880a08e0a3c6cdbd958bdf8; +&a08e5aa34c91e6ebaba8fc63e3af9fe31; +&a181e55fa472ec1667172b73625f1b776; +&a4a8f4d8bf9f98af1fc99ba9328aa4a50; +&a812d9c22a396a5551693bb4d6dcae5b8; +&af95666e924be0e4cd14c6415f124f7d8; +&ab4413930d155521ee36e3b7a19400809; +&a07861a28f3bed2170e83949b6e2c3809; +&a99676709afd29b9c0701a4ca0e97365e; +&ac4b6feabfcffe4748eea06cf81d6c28b; +&a9eb5dbeb1370f1a1f23b414438b423b7; +&a61b6ccda9c51a7fb92674a98fd9f358a; diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 1c0a160..3105019 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 8b4ef1f..16c3c1b 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 44b7b1f..0fd7aff 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 2f0feea..5d4fac0 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 677736a..e6c083a 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1967 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2335 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 067ca95..ea3dfe8 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index add47c8..ac7ff93 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -83,6 +83,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 4db2aa2..dda12cb 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -83,6 +83,7 @@ + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 91ef9fa..fe7030d 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/hamming.sci b/macros/hamming.sci index 6fa9a12..49a970f 100644 --- a/macros/hamming.sci +++ b/macros/hamming.sci @@ -1,4 +1,14 @@ function y = hamming(m, varargin) +//Return the filter coefficients of a Hamming window of length M +//Calling Sequence +//hamming (M) +//hamming (M, "periodic") +//hamming (M, "symmetric") +//Parameters +//M: real scalar, which will be the length of hamming window +//Description +//Return the filter coefficients of a Hamming window of length M. +//If the optional argument "periodic" is given, the periodic form of the window is returned. This is equivalent to the window of length M+1 with the last coefficient removed. The optional argument "symmetric" is equivalent to not specifying a second argument. funcprot(0); rhs= argn(2); if(rhs <1 | rhs>2) diff --git a/macros/hanning.sci b/macros/hanning.sci index d90faf2..60ca783 100644 --- a/macros/hanning.sci +++ b/macros/hanning.sci @@ -1,5 +1,14 @@ function y = hanning(m, varargin) - +//Return the filter coefficients of a Hanning window of length M +//Calling Sequence +//hanning (M) +//hanning (M, "periodic") +//hanning (M, "symmetric") +//Parameters +//M: real scalar, which will be the length of hanning window +//Description +//Return the filter coefficients of a Hanning window of length M. +//If the optional argument "periodic" is given, the periodic form of the window is returned. This is equivalent to the window of length M+1 with the last coefficient removed. The optional argument "symmetric" is equivalent to not specifying a second argument. funcprot(0); rhs= argn(2); diff --git a/macros/hilbert1.sci b/macros/hilbert1.sci index 1c0fe0e..fbcb136 100644 --- a/macros/hilbert1.sci +++ b/macros/hilbert1.sci @@ -9,7 +9,7 @@ function h= hilbert1(f, varargin) //N: The result will have length N //dim : It analyses the input in this dimension //Description -//h = hilbert (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. +//h = hilbert1 (f) computes the extension of the real valued signal f to an analytic signal. If f is a matrix, the transformation is applied to each column. For N-D arrays, the transformation is applied to the first non-singleton dimension. // //real (h) contains the original signal f. imag (h) contains the Hilbert transform of f. // diff --git a/macros/lib b/macros/lib index d265058..643f8e5 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index c6a8d88..af57307 100644 --- a/macros/names +++ b/macros/names @@ -65,6 +65,7 @@ fft2 fftconv fftfilt fftn +fftshift1 fht filter1 filter2 @@ -102,6 +103,7 @@ idct2 idst1 ifft ifft2 +ifftn ifftshift1 ifht ifwht -- cgit From 9539b5efb5ccf665a1cc4b8e814e96460b22e0ab Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Tue, 28 Nov 2017 14:53:58 +0530 Subject: New functions and help files generated --- help/en_US/arch_test.xml | 73 +++++++++++++++++++++ help/en_US/detrend1.xml | 51 ++++++++++++++ help/en_US/master_help.xml | 4 ++ help/en_US/periodogram.xml | 42 +++++++++++- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 13071 -> 13367 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1735 -> 1769 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | 14 ++-- .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 56223 -> 57620 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 26624 -> 28672 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 2 + help/en_US/scilab_en_US_help/jhelptoc.xml | 2 + jar/scilab_en_US_help.jar | Bin 386404 -> 391962 bytes macros/ar_psd.sci | 17 +++++ macros/arch_test.sci | 46 +++++++++++++ macros/bilinear.sci | 27 ++++++++ macros/cohere.sci | 11 ++++ macros/detrend1.sci | 11 ++++ macros/lib | Bin 6552 -> 6648 bytes macros/names | 4 ++ macros/periodogram.sci | 46 ++++++++++--- 21 files changed, 333 insertions(+), 19 deletions(-) create mode 100644 help/en_US/arch_test.xml create mode 100644 help/en_US/detrend1.xml create mode 100644 macros/ar_psd.sci create mode 100644 macros/arch_test.sci create mode 100644 macros/bilinear.sci create mode 100644 macros/cohere.sci diff --git a/help/en_US/arch_test.xml b/help/en_US/arch_test.xml new file mode 100644 index 0000000..aa57ff0 --- /dev/null +++ b/help/en_US/arch_test.xml @@ -0,0 +1,73 @@ + + + + + + + + arch_test + perform a Lagrange Multiplier (LM) test of thenull hypothesis of no conditional heteroscedascity against the alternative of CH(P) + + + + + Calling Sequence + + arch_test(Y,X,P) + PVAL = arch_test(Y,X,P) + [PVAL, LM]= arch_test(Y,X,P) + + + + + Parameters + + P: + Degrees of freedom + PVAL: + PVAL is the p-value (1 minus the CDF of this distribution at LM) of the test + + + + + Description + +perform a Lagrange Multiplier (LM) test of thenull hypothesis of no conditional heteroscedascity against the alternative of CH(P). + + +I.e., the model is + + +y(t) = b(1) * x(t,1) + ... + b(k) * x(t,k) + e(t), + + +given Y up to t-1 and X up to t, e(t) is N(0, h(t)) with + + +h(t) = v + a(1) * e(t-1)^2 + ... + a(p) *e(t-p)^2, and the null is a(1) == ... == a(p) == 0. + + +If the second argument is a scalar integer, k,perform the sametest in a linear autoregression model of orderk, i.e., with + + +[1, y(t-1), ..., y(t-K)] as the t-th row of X. + + +Under the null, LM approximatel has a chisquare distribution with P degrees of freedom and PVAL is the p-value (1 minus the CDF of this distribution at LM) of the test. + + +If no output argument is given, the p-value is displayed. + + + diff --git a/help/en_US/detrend1.xml b/help/en_US/detrend1.xml new file mode 100644 index 0000000..783d922 --- /dev/null +++ b/help/en_US/detrend1.xml @@ -0,0 +1,51 @@ + + + + + + + + detrend1 + This function removes the best fit of a polynomial of order P from the data X + + + + + Calling Sequence + + detrend1(X,P) + + + + + Parameters + + X: + Input vecor or matrix. + P: + The order of polnomial + + + + + Description + +If X is a vector, 'detrend1(X, P)' removes the best fit of apolynomial of order P from the data X.If X is a matrix, 'detrend1(X, P)' does the same for each column in X. + + +The second argument P is optional. If it is not specified, a value of 1 is assumed. This corresponds to removing a linear trend. +The order of the polynomial can also be given as a string, in which case P must be either "constant" (corresponds to 'P=0') or "linear"(corresponds to 'P=1') + + + diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 29bb0db..402f8b6 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -5,6 +5,7 @@ + @@ -47,6 +48,7 @@ + @@ -259,6 +261,7 @@ &acc27042e738d175d1131be40ac8443e4; &a00c7c9f2a0021ff13869dce3b90df38c; &a2801dc954ec6ac2e1c314367aab7316b; +&a1495e32bc54c2e2975785e8e2e4521bd; &aa86636858e7127f17b93747fc8f3ec30; &a2804cc9a113729444d60d8cf3c14b554; &a78af20f681c48f8ec298b379b34418b7; @@ -301,6 +304,7 @@ &a012dc78292d46d1a6bfdd411607796ae; &a4c9381ac38659e2e9ccdf89e9aec08f9; &a732f6e560fa62dcfe2137f94ce0b812b; +&aead61bf67b6895372794be69a80b5ab9; &a8e9030fad0ea16388695b20a07e04334; &a3ffbb42a185eaf6b62029b6efc883d6b; &ac93a3534190eae2db767de3935ad4fbc; diff --git a/help/en_US/periodogram.xml b/help/en_US/periodogram.xml index 8b5b2ed..5ad8738 100644 --- a/help/en_US/periodogram.xml +++ b/help/en_US/periodogram.xml @@ -17,7 +17,47 @@ periodogram - funcprot(0); + Return the periodogram (Power Spectral Density) of X + + + Calling Sequence + + [PXX, W] = periodogram (X) + [PXX, W] = periodogram (X, WIN) + [PXX, W] = periodogram (X, WIN, NFFT) + [PXX, W] = periodogram (X, WIN, NFFT, FS) + [PXX, W] = periodogram (..., "RANGE") + + + + + Parameters + + X: + data vector. If X is real-valued a one-sided spectrum is estimated. If X is complex-valued, or "RANGE" specifies "twosided", the full spectrum is estimated. + WIN: + window weight data. If window is empty or unspecified a default rectangular window is used. Otherwise, the window is applied to the signal ('X .* WIN') before computing th periodogram. The window data must be a vector of the same length as X. + NFFT: + number of frequency bins. The default is 256 or the next higher power of 2 greater than the length of X ('max (256,2.^nextpow2 (length (x)))'). If NFFT is greater than the length of the input then X will be zero-padded to the length of NFFT. + FS: + sampling rate. The default is 1. + RANGE: + range of spectrum. "onesided" computes spectrum from [0..nfft/2+1]."twosided" computes spectrum from [0..nfft-1]. + + + + + Description + +The optional second output W are the normalized angular frequencies. For a one-sided calculation W is in the range [0, pi]. If NFFT is even and [0, pi) if NFFT is odd. Similarly, for a two-sided calculation W is in the range [0, 2*pi] or [0, 2*pi)depending on NFFT. + + +If a sampling frequency is specified, FS, then the output frequencies F will be in the range [0, FS/2] or [0, FS/2) for one-sided calculations. For two-sided calculations the range will be [0, FS). + + +When called with no outputs the periodogram is immediately plotted in the current figure window. + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 3105019..2e55114 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 16c3c1b..ac87aca 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 0fd7aff..ae19610 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS @@ -1,7 +1,7 @@ -j !(hC(p,AlZs挭t9rGA&ݔxXHʌTM<52TJQ; 0@VCE(CF=#3o3Qg0S[c;b1Y޸e(ƲchVeGE1PQ#'e[rj;VMH'!ni3 -%+ Q欙}wUٗ8܅ Ԙ -MgǏ6H͕*T5&1e2TvKS*e`U;bnVD**|! -#BуyV)`wΘÖuy2yWl4KréPywF-E*E ZbMlAr{T?˝:z(FȊ24`HR9"m%P,RtRI ΢G)W1K -4I9Ch̩>Vd-5ޱ|31 F8^X 4Coٿx$3c{w~qDEk]Si KGon}Rh84R;Y;+*bYkS}K_lN(~lR~oB<;tioUCpKdkOHBĜ{!W _g'ZdHf+[%Vjv/e>Yի8]}i'pV>+3a -ݷNFe[6YKIJ1-5 -o#[I. PTH9`k֜u/\=Jp!eI4e9^8)R2-O LeDq$#Ih,PQi(H ь,4eL3rء{*Vw#J1Ś9G5oF,QGQhci2T1b3d k[rj;VMH'!ni3 + T,9F˚eWj`c$Q`I6}T%tV0ԘKMd_˕SدYLIїu<9/[TRUM?#|T]k(HK= F Z +83^,E/>bdVDa72_v &/K~MC~xMd㨨=5i3÷ɱ9SxNr.u*"Ե"*lс# Kq^4:22ٴaCIJW'˝ +c|R1q Q{☜ +4I9Ch̩>Vd-5ޱ|32]F_U 66)9JWwnt}Ͽ`GfL w̯IeX7,ҚL#+翘*ұʷ* $f<'?4;^ZWnh7!mZ&45,XV"KI{G7mDj^mQGq +ߋUZ; zn{uk,TX rNo6j"KֳA1-7u5y+p\EI3.RH94R}A$.w_K \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 5d4fac0..4544947 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index e6c083a..7d65376 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=2335 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2382 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index ea3dfe8..6337674 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index ac7ff93..4e2930e 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -7,6 +7,7 @@ + @@ -49,6 +50,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index dda12cb..1b4fbc8 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -7,6 +7,7 @@ + @@ -49,6 +50,7 @@ + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index fe7030d..f54e2b5 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ar_psd.sci b/macros/ar_psd.sci new file mode 100644 index 0000000..d60e3c4 --- /dev/null +++ b/macros/ar_psd.sci @@ -0,0 +1,17 @@ +function [P, F]= ar_psd(A, varargin) + funcprot(0); + rhs= argn(2); + if(rhs <2 | rhs>5) + error("Wrong number of input arguments"); + end + select(rhs) + case 2 then + [P,F]= callOctave("ar_psd", A, varargin(1)); + case 3 then + [P,F]= callOctave("ar_psd", A, varargin(1), varargin(2)); + case 4 then + [P,F]= callOctave("ar_psd", A, varargin(1), varargin(2), varargin(3)); + case 5 then + [P,F]= callOctave("ar_psd", A, varargin(1), varargin(2), varargin(3), varargin(4)); + end +endfunction diff --git a/macros/arch_test.sci b/macros/arch_test.sci new file mode 100644 index 0000000..3c53fc5 --- /dev/null +++ b/macros/arch_test.sci @@ -0,0 +1,46 @@ +function [PVAL, LM]= arch_test(Y,X,P) +// perform a Lagrange Multiplier (LM) test of thenull hypothesis of no conditional heteroscedascity against the alternative of CH(P) +//Calling Sequence +//arch_test(Y,X,P) +//PVAL = arch_test(Y,X,P) +//[PVAL, LM]= arch_test(Y,X,P) +//Parameters +//P: Degrees of freedom +//PVAL:PVAL is the p-value (1 minus the CDF of this distribution at LM) of the test +//Description +//perform a Lagrange Multiplier (LM) test of thenull hypothesis of no conditional heteroscedascity against the alternative of CH(P). +// +//I.e., the model is +// +// y(t) = b(1) * x(t,1) + ... + b(k) * x(t,k) + e(t), +// +//given Y up to t-1 and X up to t, e(t) is N(0, h(t)) with +// +// h(t) = v + a(1) * e(t-1)^2 + ... + a(p) *e(t-p)^2, and the null is a(1) == ... == a(p) == 0. +// +//If the second argument is a scalar integer, k,perform the sametest in a linear autoregression model of orderk, i.e., with +// +// [1, y(t-1), ..., y(t-K)] as the t-th row of X. +// +// Under the null, LM approximatel has a chisquare distribution with P degrees of freedom and PVAL is the p-value (1 minus the CDF of this distribution at LM) of the test. +// +// If no output argument is given, the p-value is displayed. + funcprot(0) + rhs= argn(2); + lhs= argn(1); + if(rhs<3 | rhs>3) + error("Wrong number of input arguments"); + end + if(lhs<1 | lhs>2) + error("Wrong number of output arguments"); + end + select(rhs) + case 3 then + select(lhs) + case 1 then + PVAL= callOctave("arch_test", Y, X, P); + case 2 then + [PVAL,LM]= callOctave("arch_test", Y, X, P); + end + end +endfunction \ No newline at end of file diff --git a/macros/bilinear.sci b/macros/bilinear.sci new file mode 100644 index 0000000..d58dd2a --- /dev/null +++ b/macros/bilinear.sci @@ -0,0 +1,27 @@ +function [Zb, Za, Zg]= bilinear(Sb,varargin) + funcprot(0); + lhs= argn(1); + rhs= argn(2); + if(rhs < 3 | rhs > 4) + error("Wrong number of input arguments"); + end + if(lhs < 2 | lhs > 3) + error("Wrong number of output arguments"); + end + select(rhs) + case 3 then + select(lhs) + case 2 then + [Zb, Za]= callOctave("bilinear", Sb, varargin(1), varargin(2)); + case 3 then + [Zb, Za, Zg]= callOctave("bilinear", Sb, varargin(1), varargin(2)); + end + case 4 then + select(lhs) + case 2 then + [Zb, Za]= callOctave("bilinear", Sb, varargin(1), varargin(2), varargin(3)); + case 3 then + [Zb, Za, Zg]= callOctave("bilinear", Sb, varargin(1), varargin(2), varargin(3)); + end + end +endfunction \ No newline at end of file diff --git a/macros/cohere.sci b/macros/cohere.sci new file mode 100644 index 0000000..ad964a3 --- /dev/null +++ b/macros/cohere.sci @@ -0,0 +1,11 @@ +function [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends) + rhs= argn(2); + lhs= argn(1); + if(rhs < 10 | rhs > 10) + error("Wrong number of input arguments"); + end + select(rhs) + case 10 then + [Pxx,freqs] = callOctave("cohere",x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends); + end +endfunction \ No newline at end of file diff --git a/macros/detrend1.sci b/macros/detrend1.sci index b9929f4..52ac26f 100644 --- a/macros/detrend1.sci +++ b/macros/detrend1.sci @@ -1,4 +1,15 @@ function y = detrend1(x, varargin) +//This function removes the best fit of a polynomial of order P from the data X +//Calling Sequence +//detrend1(X,P) +//Parameters +//X: Input vecor or matrix. +//P: The order of polnomial +//Description +//If X is a vector, 'detrend1(X, P)' removes the best fit of apolynomial of order P from the data X.If X is a matrix, 'detrend1(X, P)' does the same for each column in X. +// +//The second argument P is optional. If it is not specified, a value of 1 is assumed. This corresponds to removing a linear trend. +//The order of the polynomial can also be given as a string, in which case P must be either "constant" (corresponds to 'P=0') or "linear"(corresponds to 'P=1') rhs= argn(2); if(rhs<1 | rhs> 2) error("Wrong number of input arguments"); diff --git a/macros/lib b/macros/lib index 643f8e5..4ca8135 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index af57307..b437c07 100644 --- a/macros/names +++ b/macros/names @@ -1,7 +1,9 @@ ac2poly ac2rc arParEst +ar_psd arburg +arch_test arcov armcov aryule @@ -10,6 +12,7 @@ barthannwin bartlett besselap besself +bilinear bitrevorder blackman blackmanharris @@ -35,6 +38,7 @@ check chirp clustersegment cmorwavf +cohere convmtx corrmtx cplxreal diff --git a/macros/periodogram.sci b/macros/periodogram.sci index 33e15af..ca8995e 100755 --- a/macros/periodogram.sci +++ b/macros/periodogram.sci @@ -1,20 +1,46 @@ function [d,n]=periodogram(a,b,c,d,e) +//Return the periodogram (Power Spectral Density) of X +//Calling Sequence +// [PXX, W] = periodogram (X) +// [PXX, W] = periodogram (X, WIN) +// [PXX, W] = periodogram (X, WIN, NFFT) +// [PXX, W] = periodogram (X, WIN, NFFT, FS) +// [PXX, W] = periodogram (..., "RANGE") +//Parameters +// X:data vector. If X is real-valued a one-sided spectrum is estimated. If X is complex-valued, or "RANGE" specifies "twosided", the full spectrum is estimated. +//WIN: window weight data. If window is empty or unspecified a default rectangular window is used. Otherwise, the window is applied to the signal ('X .* WIN') before computing th periodogram. The window data must be a vector of the same length as X. +//NFFT:number of frequency bins. The default is 256 or the next higher power of 2 greater than the length of X ('max (256,2.^nextpow2 (length (x)))'). If NFFT is greater than the length of the input then X will be zero-padded to the length of NFFT. +//FS:sampling rate. The default is 1. +//RANGE:range of spectrum. "onesided" computes spectrum from [0..nfft/2+1]."twosided" computes spectrum from [0..nfft-1]. +//Description +//The optional second output W are the normalized angular frequencies. For a one-sided calculation W is in the range [0, pi]. If NFFT is even and [0, pi) if NFFT is odd. Similarly, for a two-sided calculation W is in the range [0, 2*pi] or [0, 2*pi)depending on NFFT. +// +//If a sampling frequency is specified, FS, then the output frequencies F will be in the range [0, FS/2] or [0, FS/2) for one-sided calculations. For two-sided calculations the range will be [0, FS). +// +//When called with no outputs the periodogram is immediately plotted in the current figure window. funcprot(0); - [nargout,nargin]=argn(); - select nargin + lhs= argn(1); + rhs= argn(2); + if(rhs<1 | rhs>5) + error("Wrong number of input arguments"); + end + if(lhs>2 | lhs< 2) + error("Wrong number of output arguments"); + end + select(rhs) case 1 then - [d,n]=callOctave('periodogram',a); + [d,n]= callOctave('periodogram',a); case 2 then - [d,n]=callOctave('periodogram',a,b); + [d,n]= callOctave('periodogram',a,b); + case 3 then - [d,n]=callOctave('periodogram',a,b,c); + [d,n]= callOctave('periodogram',a,b,c); + case 4 then - [d,n]=callOctave('periodogram',a,b,c,d); + [d,n]= callOctave('periodogram',a,b,c,d); + case 5 then - [d,n]=callOctave('periodogram',a,b,c,d,e); - else - error("Incorrect no. of Input Arguments"); + [d,n]= callOctave('periodogram',a,b,c,d,e); end - endfunction -- cgit From d97df53d72f66db206da540e909679fa863b51b6 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Wed, 29 Nov 2017 17:34:00 +0530 Subject: Added xml files and new functions --- help/en_US/ar_psd.xml | 73 +++++++++++++++++++++ help/en_US/bilinear.xml | 52 +++++++++++++++ help/en_US/cohere.xml | 64 ++++++++++++++++++ help/en_US/diffpara.xml | 60 +++++++++++++++++ help/en_US/durbinlevinson.xml | 53 +++++++++++++++ help/en_US/fftshift1.xml | 64 ++++++++++++++++++ help/en_US/fractdiff.xml | 38 +++++++++++ help/en_US/ifftshift1.xml | 52 +++++++++++++++ help/en_US/master_help.xml | 16 +++++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 13367 -> 14195 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1769 -> 1885 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 844 -> 874 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 57620 -> 61423 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 28672 -> 28672 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 8 +++ help/en_US/scilab_en_US_help/jhelptoc.xml | 8 +++ jar/scilab_en_US_help.jar | Bin 391962 -> 409125 bytes macros/ar_psd.sci | 23 +++++++ macros/bilinear.sci | 13 ++++ macros/cohere.sci | 17 +++++ macros/diffpara.sci | 17 +++++ macros/durbinlevinson.sci | 13 ++++ macros/fftshift1.sci | 21 ++++++ macros/fractdiff.sci | 6 ++ macros/ifftshift1.sci | 12 ++++ 26 files changed, 611 insertions(+), 1 deletion(-) create mode 100644 help/en_US/ar_psd.xml create mode 100644 help/en_US/bilinear.xml create mode 100644 help/en_US/cohere.xml create mode 100644 help/en_US/diffpara.xml create mode 100644 help/en_US/durbinlevinson.xml create mode 100644 help/en_US/fftshift1.xml create mode 100644 help/en_US/fractdiff.xml create mode 100644 help/en_US/ifftshift1.xml diff --git a/help/en_US/ar_psd.xml b/help/en_US/ar_psd.xml new file mode 100644 index 0000000..103f0d2 --- /dev/null +++ b/help/en_US/ar_psd.xml @@ -0,0 +1,73 @@ + + + + + + + + ar_psd + Calculate the power spectrum of the autoregressive model + + + + + Calling Sequence + + [PSD,F_OUT]=ar_psd (A, V) + [PSD,F_OUT]=ar_psd (A, V, FREQ) + [PSD,F_OUT]=ar_psd (A, V, FREQ, FS) + [PSD,F_OUT]=ar_psd (..., RANGE) + [PSD,F_OUT]=ar_psd (..., METHOD) + [PSD,F_OUT]=ar_psd (..., PLOTTYPE) + + + + + Parameters + + A: + List of M=(order+1) autoregressive model coefficients. The first element of "ar_coeffs" is the zero-lag coefficient, which always has a value of 1. + V: + Square of the moving-average coefficient of the AR model. + FREQ: + Frequencies at which power spectral density is calculated, or a scalar indicating the number of uniformly distributed frequency values at which spectral density is calculated. (default = 256) + FS: + Sampling frequency (Hertz) (default=1) + Range: + 'half', 'onesided' : frequency range of the spectrum is from zero up to but not including sample_f/2. Power from negative frequencies is added to the positive side of the spectrum.'whole', 'twosided' : frequency range of the spectrum is-sample_f/2 to sample_f/2, with negative frequencies stored in "wrap around" order after the positive frequencies; e.g. frequencies for a 10-point 'twosided' spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If "freq" is vector, 'shift' is ignored. If model coefficients "ar_coeffs" are real, the default range is 'half', otherwise default range is 'whole'. + Method: + 'fft': use FFT to calculate power spectrum. 'poly': calculate power spectrum as a polynomial of 1/z N.B. this argument is ignored if the "freq" argument is a vector. The default is 'poly' unless the "freq" argument is an integer power of 2. + Plot type: + 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db':specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. + PSD: + estimate of power-spectral density + F_OUT: + frequency values + + + + + Description + +If the FREQ argument is a vector (of frequencies) the spectrum is calculated using the polynomial method and the METHOD argument is ignored. For scalar FREQ, an integer power of 2, or METHOD = "FFT", causes the spectrum to be calculated by FFT. Otherwise, the spectrum is calculated as a polynomial. It may be computationally more efficient to use the FFT method if length of the model is not much smaller than the number of frequency values. The spectrum is scaled so that spectral energy (area under spectrum) is the same as the time-domain energy (mean square of the signal). + + + + + Examples + + + diff --git a/help/en_US/bilinear.xml b/help/en_US/bilinear.xml new file mode 100644 index 0000000..0361759 --- /dev/null +++ b/help/en_US/bilinear.xml @@ -0,0 +1,52 @@ + + + + + + + + bilinear + Transform a s-plane filter specification into a z-plane specification + + + + + Calling Sequence + + [ZB, ZA] = bilinear (SB, SA, T) + [ZB, ZA] = bilinear (SZ, SP, SG, T) + [ZZ, ZP, ZG] = bilinear (...) + + + + + Description + +Transform a s-plane filter specification into a z-plane specification. Filters can be specified in either zero-pole-gain or transfer function form. The input form does not have to match the output form. 1/T is the sampling frequency represented in the z plane. + + +Note: this differs from the bilinear function in the signal processing toolbox, which uses 1/T rather than T. + + +Theory: Given a piecewise flat filter design, you can transform it from the s-plane to the z-plane while maintaining the band edges by means of the bilinear transform. This maps the left hand side of the s-plane into the interior of the unit circle. The mapping is highly non-linear, so you must design your filter with band edges in the s-plane positioned at 2/T tan(w*T/2) so that they will be positioned at w after the bilinear transform is complete. + + + + + Examples + + + diff --git a/help/en_US/cohere.xml b/help/en_US/cohere.xml new file mode 100644 index 0000000..677e7a9 --- /dev/null +++ b/help/en_US/cohere.xml @@ -0,0 +1,64 @@ + + + + + + + + cohere + Estimate (mean square) coherence of signals "x" and "y" + + + + + Calling Sequence + + [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends) + + + + + Parameters + + x: + [non-empty vector] system-input time-series data + y: + [non-empty vector] system-output time-series data + win: + [real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. + overlap: + [real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . + Nfft: + [integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. + Fs: + [real scalar] sampling frequency (Hertz); default=1.0 + range: + 'half', 'onesided' : frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. 'whole', 'twosided' : frequency range of the spectrum is-Fs/2 to Fs/2, with negative frequenciesstored in "wrap around" order after the positivefrequencies; e.g. frequencies for a 10-point 'twosided'spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. + plot_type: + 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. + detrends: + 'no-strip', 'none' -- do NOT remove mean value from the data'short', 'mean' -- remove the mean value of each segment from each segment of the data. 'linear',-- remove linear trend from each segment of the data.'long-mean'-- remove the mean value from the data before splitting it into segments. This is the default. + + + + + Description + +Estimate (mean square) coherence of signals "x" and "y". + + +Use the Welch (1967) periodogram/FFT method. + + + diff --git a/help/en_US/diffpara.xml b/help/en_US/diffpara.xml new file mode 100644 index 0000000..be0f99c --- /dev/null +++ b/help/en_US/diffpara.xml @@ -0,0 +1,60 @@ + + + + + + + + diffpara + Return the estimator D for the differencing parameter of an integrated time series + + + + + Calling Sequence + + [D, DD] = diffpara (X) + [D, DD] = diffpara (X, A) + [D, DD] = diffpara (X, A, B) + + + + + Parameters + + X: + Input scalar or vector. + DD: + The estimators for all frequencies in the intervals described above. + D: + The mean of DD + + + + + Description + +Return the estimator D for the differencing parameter of an integrated time series. + + +The frequencies from [2*pi*a/t, 2*pi*b/T] are used for the estimation. If B is omitted, the interval [2*pi/T, 2*pi*a/T] is used. If both B and A are omitted then a = 0.5 * sqrt (T) and b = 1.5 * sqrt (T) is used, where T is the sample size. If X is a matrix, the differencing parameter of each column is estimated. + + +The estimators for all frequencies in the intervals described above is returned in DD. + + +The value of D is simply the mean of DD. + + + diff --git a/help/en_US/durbinlevinson.xml b/help/en_US/durbinlevinson.xml new file mode 100644 index 0000000..0e6cc6d --- /dev/null +++ b/help/en_US/durbinlevinson.xml @@ -0,0 +1,53 @@ + + + + + + + + durbinlevinson + Perform one step of the Durbin-Levinson algorithm.. + + + + + Calling Sequence + + durbinlevinson (C); + durbinlevinson (C, OLDPHI); + durbinlevinson (C, OLDPHI, OLDV); + + + + + Parameters + + C: + The vector C specifies the autocovariances '[gamma_0, ..., gamma_t]' from lag 0 to T. + OLDPHI: + It specifies the coefficients based on C(T-1). + OLDV: + It specifies the corresponding error. + + + + + Description + +This is an Octave function. +Perform one step of the Durbin-Levinson. +If OLDPHI and OLDV are omitted, all steps from 1 to T of the algorithm are performed. + + + diff --git a/help/en_US/fftshift1.xml b/help/en_US/fftshift1.xml new file mode 100644 index 0000000..8ce7eab --- /dev/null +++ b/help/en_US/fftshift1.xml @@ -0,0 +1,64 @@ + + + + + + + + fftshift1 + Perform a shift of the vector X, for use with the 'fft' and 'ifft' functions, in order the move the frequency 0 to the center of the vector or matrix. + + + + + Calling Sequence + + fftshift1 (X) + fftshift1 (X, DIM) + + + + + Parameters + + X: + It is a vector of N elements corresponding to time samples + DIM: + The optional DIM argument can be used to limit the dimension along which the permutation occurs + + + + + Description + +This is an Octave function. +Perform a shift of the vector X, for use with the 'fft' and 'ifft' functions, in order the move the frequency 0 to the center of the vector or matrix. + + +If X is a vector of N elements corresponding to N time samples spaced by dt, then 'fftshift1 (fft (X))' corresponds to frequencies + + +f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ] + + +where df = 1 / dt. + + +If X is a matrix, the same holds for rows and columns. If X is an array, then the same holds along each dimension. + + +The optional DIM argument can be used to limit the dimension along + + + diff --git a/help/en_US/fractdiff.xml b/help/en_US/fractdiff.xml new file mode 100644 index 0000000..c26508f --- /dev/null +++ b/help/en_US/fractdiff.xml @@ -0,0 +1,38 @@ + + + + + + + + fractdiff + Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1. + + + + + Calling Sequence + + fractdiff (X, D) + + + + + Description + +This is an Octave function. +Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1. + + + diff --git a/help/en_US/ifftshift1.xml b/help/en_US/ifftshift1.xml new file mode 100644 index 0000000..c281669 --- /dev/null +++ b/help/en_US/ifftshift1.xml @@ -0,0 +1,52 @@ + + + + + + + + ifftshift1 + Undo the action of the 'fftshift1' function. + + + + + Calling Sequence + + ifftshift1 (X) + ifftshift1 (X, DIM) + + + + + Parameters + + X: + It is a vector of N elements corresponding to time samples + DIM: + The optional DIM argument can be used to limit the dimension along which the permutation occurs + + + + + Description + +This is an Octave function. +Undo the action of the 'fftshift1' function. + + +For even length X, 'fftshift1' is its own inverse, but odd lengths differ slightly. + + + diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 402f8b6..928bf3f 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -4,6 +4,7 @@ + @@ -13,6 +14,7 @@ + @@ -38,6 +40,7 @@ + @@ -50,9 +53,11 @@ + + @@ -63,6 +68,7 @@ + @@ -72,6 +78,7 @@ + @@ -95,6 +102,7 @@ + @@ -260,6 +268,7 @@ &a231328952124a7e187905e71aaf9cee0; &acc27042e738d175d1131be40ac8443e4; &a00c7c9f2a0021ff13869dce3b90df38c; +&a85e6512c560e0bf936c3beeaa098c6c9; &a2801dc954ec6ac2e1c314367aab7316b; &a1495e32bc54c2e2975785e8e2e4521bd; &aa86636858e7127f17b93747fc8f3ec30; @@ -269,6 +278,7 @@ &af8a337c857d4b373e49c0032acb1370f; &a8db037e6c34a1ac0f7db27577e08e15d; &a31f48c823b3b36a8c44e96ff54eaf66a; +&a1f0975c78250aac81c6d5a79d8c93eab; &a4965260600d5ae3055dc940551b4155a; &a203e8f0f36fcdb6d7dab204312a41134; &a33562ce8ee2b64f5e49f771f94e64714; @@ -294,6 +304,7 @@ &a1dc032779f7ba8e8f69e8f79dfb144d5; &a5bf1548e6f5419396992c7e5fee10e44; &a675cd787aff166461d9e9da55d591875; +&a2b41713030e0a16e3e381cc96ff62544; &adc56a73851265426ed0c3db40f3a0d2e; &a3d40cac540363daecb58818938d2b1d3; &ad2840257a4ded4da25428645e8a8fd22; @@ -306,9 +317,11 @@ &a732f6e560fa62dcfe2137f94ce0b812b; &aead61bf67b6895372794be69a80b5ab9; &a8e9030fad0ea16388695b20a07e04334; +&a1d56d414b955dad7a64ae7c13171931e; &a3ffbb42a185eaf6b62029b6efc883d6b; &ac93a3534190eae2db767de3935ad4fbc; &afe6460b06ca50c9c2d156ea6806d2ed9; +&a227944d1935a789cec8341413d58151d; &a52aa309fac8ef71cd8d143ac51969fe0; &aa0ecb21a4fba74cd96dd91d64d4f13ef; &a54ce5c2d68eb85b370486a8657432e59; @@ -319,6 +332,7 @@ &a61dce7ba646ca92aaf5a1ba090aa25e4; &ad146f651e2b3ae0f2c4548c9d31b9324; &a093a9f733664f253ef62c57cbfd1f345; +&ac1d05174ad6903658715873090e2337d; &ad9f3946f61509aa68a6555cc8e1e89c4; &a0b5dd6bfc7c995741ff59cb1f2e6bd9d; &a6f9f6be023cda42def4540ebe4a826ad; @@ -328,6 +342,7 @@ &a94e89cc06baa492675fb0ba33b84c454; &a19950da21e14157b78311a84cf566c31; &a997024f7f60a0e9b5b06fb25b4549196; +&a36e682243b9d539831279ec2794d4dcf; &a60063fcaf779858435eab52d0438f7c0; &a5b1b81f5a27ba264b58d0ede7bf40d6e; &aaa8fd7d64f02100f0ff4b9f5a601b502; @@ -351,6 +366,7 @@ &a6fd54fa41c0d83b890ecda9094cd757f; &a9a5ec7990aa1e0ee187582dfea2e2f18; &a6c98b32822a438724a01bbbc3c6e8972; +&ac144cb9b3a31dd3325159821e24eac51; &a414728f3a3bc742adaead017680e9eb1; &a2992435e7a3da65808422b5922e44afd; &a056e2f09f5221e8999a0fea1c1fa878d; diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 2e55114..a84edbe 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index ac87aca..f9a9626 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index ae19610..8255fa1 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 4544947..80cb637 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 7d65376..8970d6a 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=2382 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2513 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 6337674..ed7ae27 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index 4e2930e..b4c824f 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -6,6 +6,7 @@ + @@ -15,6 +16,7 @@ + @@ -40,6 +42,7 @@ + @@ -52,9 +55,11 @@ + + @@ -65,6 +70,7 @@ + @@ -74,6 +80,7 @@ + @@ -97,6 +104,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 1b4fbc8..5d9607e 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -6,6 +6,7 @@ + @@ -15,6 +16,7 @@ + @@ -40,6 +42,7 @@ + @@ -52,9 +55,11 @@ + + @@ -65,6 +70,7 @@ + @@ -74,6 +80,7 @@ + @@ -97,6 +104,7 @@ + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index f54e2b5..f6622b8 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ar_psd.sci b/macros/ar_psd.sci index d60e3c4..540dfec 100644 --- a/macros/ar_psd.sci +++ b/macros/ar_psd.sci @@ -1,4 +1,27 @@ function [P, F]= ar_psd(A, varargin) +//Calculate the power spectrum of the autoregressive model +//Calling Sequence +// [PSD,F_OUT]=ar_psd (A, V) +// [PSD,F_OUT]=ar_psd (A, V, FREQ) +// [PSD,F_OUT]=ar_psd (A, V, FREQ, FS) +// [PSD,F_OUT]=ar_psd (..., RANGE) +// [PSD,F_OUT]=ar_psd (..., METHOD) +// [PSD,F_OUT]=ar_psd (..., PLOTTYPE) +//Parameters +//A:List of M=(order+1) autoregressive model coefficients. The first element of "ar_coeffs" is the zero-lag coefficient, which always has a value of 1. +//V:Square of the moving-average coefficient of the AR model. +//FREQ:Frequencies at which power spectral density is calculated, or a scalar indicating the number of uniformly distributed frequency values at which spectral density is calculated. (default = 256) +//FS:Sampling frequency (Hertz) (default=1) +//Range: 'half', 'onesided' : frequency range of the spectrum is from zero up to but not including sample_f/2. Power from negative frequencies is added to the positive side of the spectrum.'whole', 'twosided' : frequency range of the spectrum is-sample_f/2 to sample_f/2, with negative frequencies stored in "wrap around" order after the positive frequencies; e.g. frequencies for a 10-point 'twosided' spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If "freq" is vector, 'shift' is ignored. If model coefficients "ar_coeffs" are real, the default range is 'half', otherwise default range is 'whole'. +// Method:'fft': use FFT to calculate power spectrum. 'poly': calculate power spectrum as a polynomial of 1/z N.B. this argument is ignored if the "freq" argument is a vector. The default is 'poly' unless the "freq" argument is an integer power of 2. +// Plot type:'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db':specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. +//PSD: estimate of power-spectral density +//F_OUT: frequency values +//Description +//If the FREQ argument is a vector (of frequencies) the spectrum is calculated using the polynomial method and the METHOD argument is ignored. For scalar FREQ, an integer power of 2, or METHOD = "FFT", causes the spectrum to be calculated by FFT. Otherwise, the spectrum is calculated as a polynomial. It may be computationally more efficient to use the FFT method if length of the model is not much smaller than the number of frequency values. The spectrum is scaled so that spectral energy (area under spectrum) is the same as the time-domain energy (mean square of the signal). +//Examples +//[a,b]= ar_psd([1,2,3],2) + funcprot(0); rhs= argn(2); if(rhs <2 | rhs>5) diff --git a/macros/bilinear.sci b/macros/bilinear.sci index d58dd2a..387b8d0 100644 --- a/macros/bilinear.sci +++ b/macros/bilinear.sci @@ -1,4 +1,17 @@ function [Zb, Za, Zg]= bilinear(Sb,varargin) +// Transform a s-plane filter specification into a z-plane specification +//Calling Sequence +// [ZB, ZA] = bilinear (SB, SA, T) +// [ZB, ZA] = bilinear (SZ, SP, SG, T) +// [ZZ, ZP, ZG] = bilinear (...) +//Description +//Transform a s-plane filter specification into a z-plane specification. Filters can be specified in either zero-pole-gain or transfer function form. The input form does not have to match the output form. 1/T is the sampling frequency represented in the z plane. +// +//Note: this differs from the bilinear function in the signal processing toolbox, which uses 1/T rather than T. +// +//Theory: Given a piecewise flat filter design, you can transform it from the s-plane to the z-plane while maintaining the band edges by means of the bilinear transform. This maps the left hand side of the s-plane into the interior of the unit circle. The mapping is highly non-linear, so you must design your filter with band edges in the s-plane positioned at 2/T tan(w*T/2) so that they will be positioned at w after the bilinear transform is complete. +//Examples +//[ZB,ZA]=bilinear([1],[2,3],3) funcprot(0); lhs= argn(1); rhs= argn(2); diff --git a/macros/cohere.sci b/macros/cohere.sci index ad964a3..ba013ab 100644 --- a/macros/cohere.sci +++ b/macros/cohere.sci @@ -1,4 +1,21 @@ function [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends) +//Estimate (mean square) coherence of signals "x" and "y" +//Calling Sequence +// [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends) +//Parameters +//x: [non-empty vector] system-input time-series data +//y: [non-empty vector] system-output time-series data +//win:[real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. +//overlap:[real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . +//Nfft:[integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. +//Fs:[real scalar] sampling frequency (Hertz); default=1.0 +//range:'half', 'onesided' : frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. 'whole', 'twosided' : frequency range of the spectrum is-Fs/2 to Fs/2, with negative frequenciesstored in "wrap around" order after the positivefrequencies; e.g. frequencies for a 10-point 'twosided'spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. +//plot_type: 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. +//detrends:'no-strip', 'none' -- do NOT remove mean value from the data'short', 'mean' -- remove the mean value of each segment from each segment of the data. 'linear',-- remove linear trend from each segment of the data.'long-mean'-- remove the mean value from the data before splitting it into segments. This is the default. +//Description +//Estimate (mean square) coherence of signals "x" and "y". +// +//Use the Welch (1967) periodogram/FFT method. rhs= argn(2); lhs= argn(1); if(rhs < 10 | rhs > 10) diff --git a/macros/diffpara.sci b/macros/diffpara.sci index 3f9e2d9..c36ae7c 100644 --- a/macros/diffpara.sci +++ b/macros/diffpara.sci @@ -1,4 +1,21 @@ function [D,DD] = diffpara(X,varargin) +//Return the estimator D for the differencing parameter of an integrated time series +//Calling Sequence +// [D, DD] = diffpara (X) +// [D, DD] = diffpara (X, A) +// [D, DD] = diffpara (X, A, B) +//Parameters +//X: Input scalar or vector. +//DD:The estimators for all frequencies in the intervals described above. +//D:The mean of DD +//Description +//Return the estimator D for the differencing parameter of an integrated time series. +// +//The frequencies from [2*pi*a/t, 2*pi*b/T] are used for the estimation. If B is omitted, the interval [2*pi/T, 2*pi*a/T] is used. If both B and A are omitted then a = 0.5 * sqrt (T) and b = 1.5 * sqrt (T) is used, where T is the sample size. If X is a matrix, the differencing parameter of each column is estimated. +// +//The estimators for all frequencies in the intervals described above is returned in DD. +// +//The value of D is simply the mean of DD. lhs= argn(1); rhs= argn(2); if(rhs <1 | rhs> 3) diff --git a/macros/durbinlevinson.sci b/macros/durbinlevinson.sci index cd56e48..74dbb46 100644 --- a/macros/durbinlevinson.sci +++ b/macros/durbinlevinson.sci @@ -1,4 +1,17 @@ function y= durbinlevinson(C, varargin) +// Perform one step of the Durbin-Levinson algorithm.. +//Calling Sequence +// durbinlevinson (C); +// durbinlevinson (C, OLDPHI); +// durbinlevinson (C, OLDPHI, OLDV); +//Parameters +//C: The vector C specifies the autocovariances '[gamma_0, ..., gamma_t]' from lag 0 to T. +//OLDPHI: It specifies the coefficients based on C(T-1). +//OLDV: It specifies the corresponding error. +//Description +//This is an Octave function. +//Perform one step of the Durbin-Levinson. +//If OLDPHI and OLDV are omitted, all steps from 1 to T of the algorithm are performed. rhs=argn(2); if(rhs<1 | rhs>3) error("Wrong number of input arguments"); diff --git a/macros/fftshift1.sci b/macros/fftshift1.sci index 2928850..d8721cd 100644 --- a/macros/fftshift1.sci +++ b/macros/fftshift1.sci @@ -1,4 +1,25 @@ function y= fftshift1(X,DIM) +//Perform a shift of the vector X, for use with the 'fft' and 'ifft' functions, in order the move the frequency 0 to the center of the vector or matrix. +//Calling Sequence +// fftshift1 (X) +// fftshift1 (X, DIM) +//Parameters +//X:It is a vector of N elements corresponding to time samples +//DIM: The optional DIM argument can be used to limit the dimension along which the permutation occurs +//Description +//This is an Octave function. +//Perform a shift of the vector X, for use with the 'fft' and 'ifft' functions, in order the move the frequency 0 to the center of the vector or matrix. +// +//If X is a vector of N elements corresponding to N time samples spaced by dt, then 'fftshift1 (fft (X))' corresponds to frequencies +// +//f = [ -(ceil((N-1)/2):-1:1)*df 0 (1:floor((N-1)/2))*df ] +// +//where df = 1 / dt. +// +//If X is a matrix, the same holds for rows and columns. If X is an array, then the same holds along each dimension. +// +//The optional DIM argument can be used to limit the dimension along + which the permutation occurs. rhs= argn(2); if(rhs <1 | rhs >2) error('Wrong number of Input arguments'); diff --git a/macros/fractdiff.sci b/macros/fractdiff.sci index 1731dc1..979a079 100644 --- a/macros/fractdiff.sci +++ b/macros/fractdiff.sci @@ -1,4 +1,10 @@ function y= fractdiff(x,d) +//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1. +//Calling Sequence +// fractdiff (X, D) +//Description +//This is an Octave function. +//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1. funcprot(0); rhs= argn(2); if(rhs < 2 | rhs >2) diff --git a/macros/ifftshift1.sci b/macros/ifftshift1.sci index 6c5ae8e..7426130 100644 --- a/macros/ifftshift1.sci +++ b/macros/ifftshift1.sci @@ -1,4 +1,16 @@ function y= ifftshift1(X,DIM) +//Undo the action of the 'fftshift1' function. +//Calling Sequence +// ifftshift1 (X) +// ifftshift1 (X, DIM) +//Parameters +//X:It is a vector of N elements corresponding to time samples +//DIM: The optional DIM argument can be used to limit the dimension along which the permutation occurs +//Description +//This is an Octave function. +//Undo the action of the 'fftshift1' function. +// +//For even length X, 'fftshift1' is its own inverse, but odd lengths differ slightly. rhs= argn(2); if(rhs <1 | rhs >2) error('Wrong number of Input arguments'); -- cgit From 78b93a6cdf04aa8c861d4580eec8e4839bb8a255 Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Thu, 30 Nov 2017 12:05:04 +0530 Subject: TFE function added --- help/en_US/master_help.xml | 2 + help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 14195 -> 14359 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 1885 -> 1887 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 874 -> 877 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 61423 -> 62365 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 28672 -> 28672 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 1 + help/en_US/scilab_en_US_help/jhelptoc.xml | 1 + help/en_US/tfe.xml | 61 +++++++++++++++++++++ jar/scilab_en_US_help.jar | Bin 409125 -> 412370 bytes macros/lib | Bin 6648 -> 6672 bytes macros/names | 1 + macros/tfe.sci | 27 +++++++++ 14 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 help/en_US/tfe.xml create mode 100644 macros/tfe.sci diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 928bf3f..9ff7294 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -221,6 +221,7 @@ + @@ -485,6 +486,7 @@ &a74b148e7e471bd9f170cd4dc3087d2c9; &a243b79cdb976d4f432450ea744ca236c; &a9187ccad1c55b5cd1a5a900b17f2104b; +&a62d4009c826ca50e7466327e7eaa3dde; &a805a0ed4cae04e01f29ecf5f82345622; &a6e3552f90470c430b16dca28da599068; &aff0a00518280d05c9d58a7de46b1b160; diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index a84edbe..f80938d 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index f9a9626..78a675f 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 8255fa1..11f7b63 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 80cb637..a921a9b 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 8970d6a..a8a67ce 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=2513 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2516 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index ed7ae27..8273b39 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index b4c824f..88502e4 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -223,6 +223,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 5d9607e..56617b9 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -223,6 +223,7 @@ + diff --git a/help/en_US/tfe.xml b/help/en_US/tfe.xml new file mode 100644 index 0000000..0e5e35b --- /dev/null +++ b/help/en_US/tfe.xml @@ -0,0 +1,61 @@ + + + + + + + + tfe + Estimate transfer function of system with input "x" and output "y". Use the Welch (1967) periodogram/FFT method. + + + + + Calling Sequence + + [Pxx,freq] = tfe(x,y,Nfft,Fs,window,overlap,range,plot_type,detrend) + + + + + Parameters + + x: + [non-empty vector] system-input time-series data + y: + [non-empty vector] system-output time-series data + win: + [real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. + overlap: + [real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . + Nfft: + [integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. + Fs: + [real scalar] sampling frequency (Hertz); default=1.0 + range: + 'half', 'onesided' : frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. 'whole', 'twosided' : frequency range of the spectrum is-Fs/2 to Fs/2, with negative frequenciesstored in "wrap around" order after the positivefrequencies; e.g. frequencies for a 10-point 'twosided'spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. + plot_type: + 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. + detrends: + 'no-strip', 'none' -- do NOT remove mean value from the data'short', 'mean' -- remove the mean value of each segment from each segment of the data. 'linear',-- remove linear trend from each segment of the data.'long-mean'-- remove the mean value from the data before splitting it into segments. This is the default. + + + + + Description + +Estimate transfer function of system with input "x" and output "y". Use the Welch (1967) periodogram/FFT method. + + + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index f6622b8..611be4e 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/lib b/macros/lib index 4ca8135..574edf5 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index b437c07..6639534 100644 --- a/macros/names +++ b/macros/names @@ -227,6 +227,7 @@ synthesis tf2sos tf2zp tf2zpk +tfe transpose trial_iirlp2mb triang diff --git a/macros/tfe.sci b/macros/tfe.sci new file mode 100644 index 0000000..5acc391 --- /dev/null +++ b/macros/tfe.sci @@ -0,0 +1,27 @@ +function [Pxx,freqs] = tfe(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends) +//Estimate transfer function of system with input "x" and output "y". Use the Welch (1967) periodogram/FFT method. +//Calling Sequence +// [Pxx,freq] = tfe(x,y,Nfft,Fs,window,overlap,range,plot_type,detrend) +//Parameters +//x: [non-empty vector] system-input time-series data +//y: [non-empty vector] system-output time-series data +//win:[real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. +//overlap:[real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . +//Nfft:[integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. +//Fs:[real scalar] sampling frequency (Hertz); default=1.0 +//range:'half', 'onesided' : frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. 'whole', 'twosided' : frequency range of the spectrum is-Fs/2 to Fs/2, with negative frequenciesstored in "wrap around" order after the positivefrequencies; e.g. frequencies for a 10-point 'twosided'spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. +//plot_type: 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. +//detrends:'no-strip', 'none' -- do NOT remove mean value from the data'short', 'mean' -- remove the mean value of each segment from each segment of the data. 'linear',-- remove linear trend from each segment of the data.'long-mean'-- remove the mean value from the data before splitting it into segments. This is the default. +//Description +//Estimate transfer function of system with input "x" and output "y". Use the Welch (1967) periodogram/FFT method. + funcprot(0); + rhs= argn(2); + lhs= argn(1); + if(rhs < 10 | rhs > 10) + error("Wrong number of input arguments"); + end + select(rhs) + case 10 then + [Pxx,freqs] = callOctave("tfe",x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends); + end +endfunction \ No newline at end of file -- cgit From 8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 Mon Sep 17 00:00:00 2001 From: bgtushar Date: Thu, 30 Nov 2017 17:33:15 +0530 Subject: deleted html and added new functions --- help/en_US/arch_fit.xml | 62 ++++++++++++ help/en_US/autoreg_matrix.xml | 64 ++++++++++++ help/en_US/cceps.xml | 21 ++++ help/en_US/cpsd.xml | 67 ++++++++++++ help/en_US/dwt.xml | 68 +++++++++++++ help/en_US/fftconv.xml | 55 ++++++++++ help/en_US/fftn.xml | 55 ++++++++++ help/en_US/fht.xml | 34 ++++++- help/en_US/filter1.xml | 88 ++++++++++++++++ help/en_US/filter2.xml | 63 ++++++++++++ help/en_US/findpeaks.xml | 80 +++++++++++++++ help/en_US/fir1.xml | 68 +++++++++++++ help/en_US/fir2.xml | 71 +++++++++++++ help/en_US/freqz.xml | 93 +++++++++++++++++ help/en_US/idct1.xml | 36 ++++++- help/en_US/idct2.xml | 37 ++++++- help/en_US/idst1.xml | 36 ++++++- help/en_US/ifftn.xml | 55 ++++++++++ help/en_US/master_help.xml | 112 +++++++++++++++++++++ help/en_US/pwelch.xml | 76 ++++++++++++++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 23582 -> 14746 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 3723 -> 1926 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 1518 -> 875 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 100456 -> 63405 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 26760 -> 28672 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 17 +++- help/en_US/scilab_en_US_help/jhelptoc.xml | 17 +++- help/en_US/sigmoid_train.xml | 35 ++++++- help/en_US/unwrap2.xml | 60 +++++++++++ jar/scilab_en_US_help.jar | Bin 671974 -> 423908 bytes macros/arch_fit.sci | 35 +++++++ macros/autoreg_matrix.sci | 19 +++- macros/cceps.sci | 11 +- macros/cpsd.sci | 50 +++++++++ macros/dwt.sci | 19 +++- macros/fftconv.sci | 15 ++- macros/fftn.sci | 13 ++- macros/fht.sci | 13 +++ macros/filter1.sci | 35 ++++++- macros/filter2.sci | 17 +++- macros/findpeaks.sci | 58 +++++++++++ macros/fir1.sci | 36 +++++-- macros/fir2.sci | 38 +++++-- macros/freqz.sci | 71 +++++++++++++ macros/idct1.sci | 21 +++- macros/idct2.sci | 18 +++- macros/idst1.sci | 13 +++ macros/ifftn.sci | 14 ++- macros/lib | Bin 6318 -> 6676 bytes macros/names | 7 ++ macros/pwelch.sci | 67 ++++++++++++ macros/sigmoid_train.sci | 12 +++ macros/unwrap2.sci | 33 ++++-- macros/xcorr2.sci | 12 +-- 55 files changed, 1944 insertions(+), 55 deletions(-) create mode 100644 help/en_US/arch_fit.xml create mode 100644 help/en_US/autoreg_matrix.xml create mode 100644 help/en_US/cpsd.xml create mode 100644 help/en_US/dwt.xml create mode 100644 help/en_US/fftconv.xml create mode 100644 help/en_US/fftn.xml create mode 100644 help/en_US/filter1.xml create mode 100644 help/en_US/filter2.xml create mode 100644 help/en_US/findpeaks.xml create mode 100644 help/en_US/fir1.xml create mode 100644 help/en_US/fir2.xml create mode 100644 help/en_US/freqz.xml create mode 100644 help/en_US/ifftn.xml create mode 100644 help/en_US/pwelch.xml create mode 100644 help/en_US/unwrap2.xml create mode 100644 macros/arch_fit.sci create mode 100644 macros/cpsd.sci create mode 100644 macros/findpeaks.sci create mode 100644 macros/freqz.sci create mode 100644 macros/pwelch.sci diff --git a/help/en_US/arch_fit.xml b/help/en_US/arch_fit.xml new file mode 100644 index 0000000..b984137 --- /dev/null +++ b/help/en_US/arch_fit.xml @@ -0,0 +1,62 @@ + + + + + + + + arch_fit + This functions fits an ARCH regression model to the time series Y using the scoring algorithm in Engle's original ARCH paper. + + + + + Calling Sequence + + [A, B] = arch_fit (Y, X, P, ITER, GAMMA, A0, B0) + + + + + Parameters + + + + + + Description + +Fit an ARCH regression model to the time series Y using the scoring algorithm in Engle's original ARCH paper. + + +The model is + + +y(t) = b(1) * x(t,1) + ... + b(k) * x(t,k) + e(t), +h(t) = a(1) + a(2) * e(t-1)^2 + ... + a(p+1) * e(t-p)^2 + + +in which e(t) is N(0, h(t)), given a time-series vector Y up to time t-1 and a matrix of (ordinary) regressors X up to t. The order of the regression of the residual variance is specified by P. + + +If invoked as 'arch_fit (Y, K, P)' with a positive integer K, fit an ARCH(K, P) process, i.e., do the above with the t-th row of X given by + + +[1, y(t-1), ..., y(t-k)] + + +Optionally, one can specify the number of iterations ITER, the updating factor GAMMA, and initial values a0 and b0 for the scoring algorithm. + + + diff --git a/help/en_US/autoreg_matrix.xml b/help/en_US/autoreg_matrix.xml new file mode 100644 index 0000000..61fefef --- /dev/null +++ b/help/en_US/autoreg_matrix.xml @@ -0,0 +1,64 @@ + + + + + + + + autoreg_matrix + Given a time series (vector) Y, return a matrix with ones in the first column and the first K lagged values of Y in the other columns. + + + + + Calling Sequence + + autoreg_matrix(Y, K) + + + + + Parameters + + Y: + Vector + K: + Scalar or Vector + + + + + Description + +Given a time series (vector) Y, return a matrix with ones in the first column and the first K lagged values of Y in the other columns. + + +In other words, for T > K, '[1, Y(T-1), ..., Y(T-K)]' is the t-th row of the result. + + +The resulting matrix may be used as a regressor matrix in autoregressions. + + + + + Examples + + + diff --git a/help/en_US/cceps.xml b/help/en_US/cceps.xml index 5c8779a..f6610c9 100644 --- a/help/en_US/cceps.xml +++ b/help/en_US/cceps.xml @@ -29,10 +29,31 @@ + + Parameters + + x: + vector. + correct: + if 1, a correction method is applied. + + + Description This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this. + + + Examples + + diff --git a/help/en_US/cpsd.xml b/help/en_US/cpsd.xml new file mode 100644 index 0000000..c0adc0c --- /dev/null +++ b/help/en_US/cpsd.xml @@ -0,0 +1,67 @@ + + + + + + + + cpsd + This function estimates cross power spectrum of data x and y by the Welch (1967) periodogram/FFT method. + + + + + Calling Sequence + + [PXX, FREQ] = cpsd(X, Y) + [...] = cpsd(X, Y, WINDOW) + [...] = cpsd(X, Y, WINDOW, OVERLAP) + [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT) + [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS) + [...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS, RANGE) + cpsd(...) + + + + + Parameters + + X, Y: + Matrix or integer + + + + + Description + +Estimate cross power spectrum of data X and Y by the Welch (1967) periodogram/FFT method. + + + + + Examples + + + diff --git a/help/en_US/dwt.xml b/help/en_US/dwt.xml new file mode 100644 index 0000000..3b0859f --- /dev/null +++ b/help/en_US/dwt.xml @@ -0,0 +1,68 @@ + + + + + + + + dwt + Discrete wavelet transform (1D) + + + + + Calling Sequence + + [U, V] = dwt(X, WNAME) + [U, V] = dwt(X, HP, GP) + [U, V] = dwt(X, HP, GP,...) + + + + + Parameters + + Inputs: + + X: + Signal Vector. + WNAME: + Wavelet name. + HP: + Coefficients of low-pass decomposition FIR filter. + GP: + Coefficients of high-pass decomposition FIR filter. + Outputs: + + U: + Signal vector of average, approximation. + V: + Signal vector of difference, detail. + + + + + Description + +This function calculates the discrete wavelet transform (1D). + + + + + Examples + + + diff --git a/help/en_US/fftconv.xml b/help/en_US/fftconv.xml new file mode 100644 index 0000000..8748aec --- /dev/null +++ b/help/en_US/fftconv.xml @@ -0,0 +1,55 @@ + + + + + + + + fftconv + Convolve two vectors using the FFT for computation. + + + + + Calling Sequence + + Y = fftconv(X, Y) + Y = fftconv(X, Y, N) + + + + + Parameters + + X, Y: + Vectors + + + + + Description + +Convolve two vectors using the FFT for computation. 'c' = fftconv (X, Y)' returns a vector of length equal to 'length(X) + length (Y) - 1'. If X and Y are the coefficient vectors of two polynomials, the returned value is the coefficient vector of the product polynomial. + + + + + Examples + + + diff --git a/help/en_US/fftn.xml b/help/en_US/fftn.xml new file mode 100644 index 0000000..26c56c8 --- /dev/null +++ b/help/en_US/fftn.xml @@ -0,0 +1,55 @@ + + + + + + + + fftn + This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. + + + + + Calling Sequence + + Y = fftn(A) + Y = fftn(A, size) + + + + + Parameters + + A: + Matrix + + + + + Description + +This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros. + + + + + Examples + + + diff --git a/help/en_US/fht.xml b/help/en_US/fht.xml index 06311a3..69dada7 100644 --- a/help/en_US/fht.xml +++ b/help/en_US/fht.xml @@ -17,7 +17,39 @@ fht - funcprot(0); + The Function calculates the Fast Hartley Transform of real input. + + + Calling Sequence + + M = fht (D) + M = fht (D, N) + M = fht (D, N, DIM) + + + + + Parameters + + + + + + Description + +This function calculates the Fast Hartley transform of real input D. If D is a matrix, the Hartley transform is calculated along the columns by default. + + + + + Examples + + diff --git a/help/en_US/filter1.xml b/help/en_US/filter1.xml new file mode 100644 index 0000000..816c4e4 --- /dev/null +++ b/help/en_US/filter1.xml @@ -0,0 +1,88 @@ + + + + + + + + filter1 + Apply a 1-D digital filter to the data X. + + + + + Calling Sequence + + Y = filter1(B, A, X) + [Y, SF] = filter1(B, A, X, SI) + [Y, SF] = filter1(B, A, X, [], DIM) + [Y, SF] = filter1(B, A, X, SI, DIM) + + + + + Parameters + + B: + Matrix or Integer + A: + Matrix or Integer + X: + Matrix or Integer + + + + + Description + +'filter' returns the solution to the following linear, time-invariant difference equation: + + +N M + + +SUM a(k+1) y(n-k) = SUM b(k+1) x(n-k) for 1<=n<=length(x) + + +k=0 k=0 + + +where N=length(a)-1 and M=length(b)-1. The result is calculated over the first non-singleton dimension of X or over DIM if supplied. + + +An equivalent form of the equation is: + + +N M + + +y(n) = - SUM c(k+1) y(n-k) + SUM d(k+1) x(n-k) for 1<=n<=length(x) + + +k=1 k=0 + + +where c = a/a(1) and d = b/a(1). + + + + + Examples + + + diff --git a/help/en_US/filter2.xml b/help/en_US/filter2.xml new file mode 100644 index 0000000..9c54920 --- /dev/null +++ b/help/en_US/filter2.xml @@ -0,0 +1,63 @@ + + + + + + + + filter2 + Apply the 2-D FIR filter B to X. + + + + + Calling Sequence + + Y = filter2(B, X) + Y = filter2(B, X, SHAPE) + + + + + Parameters + + B, X: + Matrix + SHAPE: + + 'full': + pad X with zeros on all sides before filtering. + 'same': + unpadded X (default) + 'valid': + trim X after filtering so edge effects are no included. + + + + + Description + +This function applies the 2-D FIR filter B to X. If the argument SHAPE is specified, return an array of the desired shape. + + + + + Examples + + + diff --git a/help/en_US/findpeaks.xml b/help/en_US/findpeaks.xml new file mode 100644 index 0000000..51db28a --- /dev/null +++ b/help/en_US/findpeaks.xml @@ -0,0 +1,80 @@ + + + + + + + + findpeaks + This function find peaks on DATA. + + + + + Calling Sequence + + [PKS, LOC, EXTRA] = findpeaks(DATA) + [PKS, LOC, EXTRA] = findpeaks(..., PROPERTY, VALUE) + [PKS, LOC, EXTRA] = findpeaks(..., "DoubleSided") + + + + + Description + +Peaks of a positive array of data are defined as local maxima. For double-sided data, they are maxima of the positive part and minima of the negative part. DATA is expected to be a single column vector. + + +The function returns the value of DATA at the peaks in PKS. The index indicating their position is returned in LOC. + + +The third output argument is a structure with additional information: + + +"parabol": +A structure containing the parabola fitted to each returned peak. The structure has two fields, "x" and "pp". The field "pp" contains the coefficients of the 2nd degree polynomial and "x" the extrema of the intercal here it was fitted. + + +"height": +The estimated height of the returned peaks (in units of DATA). + + +"baseline": +The height at which the roots of the returned peaks were calculated (in units of DATA). + + +"roots": +The abscissa values (in index units) at which the parabola fitted to each of the returned peaks crosses the "baseline" value. The width of the peak is calculated by 'diff(roots)'. + + +This function accepts property-value pair given in the list below: + + +"MinPeakHeight": +Minimum peak height (positive scalar). Only peaks that exceed this value will be returned. For data taking positive and negative values use the option "DoubleSided". Default value '2*std (abs (detrend (data,0)))'. + + +"MinPeakDistance": +Minimum separation between (positive integer). Peaks separated by less than this distance are considered a single peak. This distance is also used to fit a second order polynomial to the peaks to estimate their width, therefore it acts as a smoothing parameter. Default value 4. + + +"MinPeakWidth": +Minimum width of peaks (positive integer). The width of the peaks is estimated using a parabola fitted to the neighborhood of each peak. The neighborhood size is equal to the value of "MinPeakDistance". The width is evaluated at the half height of the peak with baseline at "MinPeakHeight". Default value 2. + + +"DoubleSided": +Tells the function that data takes positive and negative values. The base-line for the peaks is taken as the mean value of the function. This is equivalent as passing the absolute value of the data after removing the mean. + + + diff --git a/help/en_US/fir1.xml b/help/en_US/fir1.xml new file mode 100644 index 0000000..c5650ba --- /dev/null +++ b/help/en_US/fir1.xml @@ -0,0 +1,68 @@ + + + + + + + + fir1 + Produce an order N FIR filter with the given frequency cutoff, returning the N+1 filter coefficients in B. + + + + + Calling Sequence + + B = fir1(N, W) + B = fir1(N, W, TYPE) + B = fir1(N, W, TYPE, WINDOW) + B = fir1(N, W, TYPE, WINDOW, NOSCALE) + + + + + Parameters + + N: + Integer + W: + Integer or Vector + + + + + Description + +Produce an order N FIR filter with the given frequency cutoff W, returning the N+1 filter coefficients in B. If W is a scalar, it specifies the frequency cutoff for a lowpass or highpass filter. If W is a two-element vector, the two values specify the edges of a bandpass or bandstop filter. If W is an N-element vector, each value specifies a band edge of a multiband pass/stop filter. + + +The filter TYPE can be specified with one of the following strings: "low", "high", "stop", "pass", "bandpass", "DC-0", or "DC-1". The default is "low" is W is a scalar, "pass" if W is a pair, or "DC-0" if W is a vector with more than 2 elements. + + +An optional shaping WINDOW can be given as a vector with length N+1. If not specified, a Hamming window of length N+1 is used. + + +With the option "noscale", the filter coefficients are not normalized. The default is to normalize the filter such that the magnitude response of the center of the first passband is 1. + + + + + Examples + + + diff --git a/help/en_US/fir2.xml b/help/en_US/fir2.xml new file mode 100644 index 0000000..932c474 --- /dev/null +++ b/help/en_US/fir2.xml @@ -0,0 +1,71 @@ + + + + + + + + fir2 + Produce an order N FIR filter with arbitrary frequency response M over frequency bands F, returning the N+1 filter coefficients in B. + + + + + Calling Sequence + + B = fir2(N, F, M) + B = fir2(N, F, M, GRID_N) + B = fir1(N, F, M, GRID_N, RAMP_N) + B = fir1(N, F, M, GRID_N, RAMP_N, WINDOW) + + + + + Parameters + + N: + Integer + F, M: + Vector + + + + + Description + +Produce an order N FIR filter with arbitrary frequency response M over frequency bands F, returning the N+1 filter coefficients in B. The vector F specifies the frequency band edges of the filter response and M specifies the magnitude response at each frequency. + + +The vector F must be nondecreasing over the range [0,1], and the first and last elements must be 0 and 1, respectively. A discontinuous jump in the frequency response can be specified by duplicating a band edge in F with different values in M. + + +The resolution over which the frequency response is evaluated can be controlled with the GRID_N argument. The default is 512 or the next larger power of 2 greater than the filter length. + + +The band transition width for discontinuities can be controlled with the RAMP_N argument. The default is GRID_N/25. Larger values will result in wider band transitions but better stopband rejection. + + +An optional shaping WINDOW can be given as a vector with length N+1. If not specified, a Hamming window of length N+1 is used. + + + + + Examples + + + diff --git a/help/en_US/freqz.xml b/help/en_US/freqz.xml new file mode 100644 index 0000000..8a29be7 --- /dev/null +++ b/help/en_US/freqz.xml @@ -0,0 +1,93 @@ + + + + + + + + freqz + This function returns the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively. + + + + + Calling Sequence + + [H, W] = freqz(B, A, N, "whole") + [H, W] = freqz(B) + [H, W] = freqz(B, A) + [H, W] = freqz(B, A, N) + H = freqz(B, A, W) + [H, W] = freqz(..., FS) + freqz(...) + + + + + Parameters + + B, A, N: + Integer or Vector + + + + + Description + +Return the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively. + + +The response is evaluated at N angular frequencies between 0 and 2*pi. + + +The output value W is a vector of the frequencies. + + +If A is omitted, the denominator is assumed to be 1 (this corresponds to a simple FIR filter). + + +If N is omitted, a value of 512 is assumed. For fastest computation, N should factor into a small number of small primes. + + +If the fourth argument, "whole", is omitted the response is evaluated at frequencies between 0 and pi. + + +'freqz (B, A, W)' + + +Evaluate the response at the specific frequencies in the vector W. The values for W are measured in radians. + + +'[...] = freqz (..., FS)' + + +Return frequencies in Hz instead of radians assuming a sampling rate FS. If you are evaluating the response at specific frequencies W, those frequencies should be requested in Hz rather than radians. + + +'freqz (...)' + + +Plot the magnitude and phase response of H rather than returning them. + + + + + Examples + + + diff --git a/help/en_US/idct1.xml b/help/en_US/idct1.xml index c43eb1c..7715570 100644 --- a/help/en_US/idct1.xml +++ b/help/en_US/idct1.xml @@ -17,7 +17,41 @@ idct1 - funcprot(0); + Compute the inverse discrete cosine transform of input. + + + Calling Sequence + + Y = idct1(X) + Y = idct1(X, N) + + + + + Parameters + + X: + Matrix or integer + N: + If N is given, then X is padded or trimmed to length N before computing the transform. + + + + + Description + +This function computes the inverse discrete cosine transform of input X. If N is given, then X is padded or trimmed to length N before computing the transform. If X is a matrix, compute the transform along the columns of the the matrix. The transform is faster if X is real-valued and even length. + + + + + Examples + + diff --git a/help/en_US/idct2.xml b/help/en_US/idct2.xml index 0e7fcdc..ae4d2e8 100644 --- a/help/en_US/idct2.xml +++ b/help/en_US/idct2.xml @@ -17,7 +17,42 @@ idct2 - funcprot(0); + This function computes the inverse 2-D discrete cosine transform of input matrix. + + + Calling Sequence + + Y = idct2(X) + Y = idct2(X, M, N) + Y = idct2(X, [M, N]) + + + + + Parameters + + X: + Matrix or integer + M, N: + If specified Matrix X is padded with M rows and N columns. + + + + + Description + +This function computes the inverse 2-D discrete cosine transform of matrix X. If M and N are specified, the input is either padded or truncated to have M rows and N columns. + + + + + Examples + + diff --git a/help/en_US/idst1.xml b/help/en_US/idst1.xml index 74a9f0e..200ec53 100644 --- a/help/en_US/idst1.xml +++ b/help/en_US/idst1.xml @@ -17,7 +17,41 @@ idst1 - funcprot(0); + This function computes the inverse type I discrete sine transform. + + + Calling Sequence + + Y = idst(X) + Y = idst(X, N) + + + + + Parameters + + X: + Matrix or integer + N: + If N is given, then X is padded or trimmed to length N before computing the transform. + + + + + Description + +This function computes the inverse type I discrete sine transform of Y. If N is given, then Y is padded or trimmed to length N before computing the transform. If Y is a matrix, compute the transform along the columns of the the matrix. + + + + + Examples + + diff --git a/help/en_US/ifftn.xml b/help/en_US/ifftn.xml new file mode 100644 index 0000000..6b21e57 --- /dev/null +++ b/help/en_US/ifftn.xml @@ -0,0 +1,55 @@ + + + + + + + + ifftn + Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. + + + + + Calling Sequence + + Y = ifftn(A) + Y = ifftn(A, size) + + + + + Parameters + + A: + Matrix + + + + + Description + +Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the inverse FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros. + + + + + Examples + + + diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index b1dc7df..faad085 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -5,11 +5,14 @@ + + + @@ -18,12 +21,16 @@ + + + + @@ -34,8 +41,11 @@ + + + @@ -43,23 +53,39 @@ + + + + + + + + + + + + + + + + @@ -68,14 +94,26 @@ + + + + + + + + + + + + @@ -105,6 +143,7 @@ + @@ -112,6 +151,7 @@ + @@ -132,13 +172,16 @@ + + + @@ -157,6 +200,9 @@ + + + @@ -165,11 +211,16 @@ + + + + + @@ -183,19 +234,24 @@ + + + + + ]> @@ -217,11 +273,14 @@ &afada58a5f5efa94bcba150f3d7ef37ec; &af43cf87eec8e014a9baf4bdd9f091652; &aeb72ef6afa5caac6c0198bf06e8d8d39; +&a6aabe8f18f007997a71126aa0979fb4a; &aaa1106b0c11e3c85c5fd3b254546d61d; &ae9004011d22c5c9b12dc2e54d6812b21; &a4caa34fab913bd6c4272de961a55bca2; +&aa409bb8056e8b0d6187e391a89ed37e4; &a25e614283dd3e99e0fb093d1db465868; &a0c94bc97d460f725b92f352b99c87e60; +&ad608be4913105add3975482c77a0577b; &aa116b32936e2bbc43a1851815477dc50; &a717bcfb5b33c5617b6df4a88a35825db; &a2e363437a83944ea4bbda8ba05793277; @@ -230,12 +289,16 @@ &a67d33687ff3441293c015e9f53640d4b; &aa33653ce5f6a767a34177a92dad8831d; &ac9bfbd0f547b9f7951782fffc297ce8f; +&a90a33fd44bde416966e643c2e1f5a9be; &a92ca529f2e4c50ecbb42fe6ac66b4ad7; &aac95818ba66b9133270a9b65f48f4512; &a90ab60d82d7a54f62db9da2aa96abb62; &acc531aceceaba9ba5f63feb980982703; &a9763f77681100b2386601412d6c68a45; +&a8d56e29d6adcb68ba8e8720a67d6dbca; +&abb55971acee64e3a7d327435b14039d9; &a2e5fe5c92463618e3ac3eb6184a6514c; +&ac49cc4ea2f6b9cbb3a0bd7f3019e8da2; &a3d1f4797b814d4d10c4b1cd0a2316e6e; &a68acc0f447018aa08e92e1d6480e95fb; &ae603f65da6a3448e705b61733191f7e1; @@ -246,8 +309,11 @@ &ae2ea4b53ce51be512488c507ba5c1a97; &a2a8b19d4177c255e54f833c3e9c12de4; &af5072b843b624620f72a1118678bb51c; +&a89ebaa1b61638ce9e0d6e39e8ca5ae6e; +&ac084863a52a16f111c217d2147875171; &a219b5a6958a48155175d7f125e0225b6; &a4892c6c6a094e865579eaa9fa0a1e315; +&a33150374920754dfeeecbb2fd8b6b1c1; &a20ba3985f003711dfcd6ae4a8aed4da3; &a498a173a5431d9ca778f08732ad009a3; &aa34b60fddd5a0bc48a0e0bdb88c05f5e; @@ -255,23 +321,39 @@ &a56ca039cf45f00657429ca5b3ffdba4d; &aad227216b9d9295f4e5f8bd814752253; &a81fd5d7c924a096b87772397a39e4120; +&a248cd16d4aa0058868049836ab02ac25; &ac98a73fed750316df035079d993cb1bb; +&a9a13ea54425c588cd8bfc5fa60bff2b6; &a5cfe9eeac1c4924f6a0caf3e1840568d; +&aa23f71d86f11b4ef5cd1fcf487ab02e1; &ad14407366297f5e3bf8f6ffdcca387f7; &a51500db596c6a52603289ec898acc619; &aeaa1b542fe025ff3036e68a9da64527d; &ac3468da1f742c3072a382a126c9cfd90; +&acba7806ff5cd97a5e87577a1d04d159d; +&ae2603875561a1cee1c774db6b3f932da; +&a926f06b52c1fad4ad8f47e7edbcb6def; &acf22d1bd8ee068dd275bed4ba7de0bb0; +&a4197c9a334908ac924a4b46939f1f938; +&a2988f096a2b631f7e57651e8a7acf262; +&a735e41b765d2554a997a3e779be0b77c; +&a34a0524007290021db06c835097fa72b; &aaf23de4d23842978c02d8fc01d0f8d89; &a1bb421658889ced3f6956d6d223af831; &a041cc2a85cc205a5280ff2cae0565aad; &ab9bfb86cd1cf6ba152f3c449acb53388; +&a91b3b602384347b37149f69d4b248e5b; +&acff56882e709dc61d60b4ba08b57bf30; +&a903ea7913267e4272f06b505d6747b8a; &ac5190b237eb80bce61bbb4731ebceaee; &a54eab5301da6f8ad94a0fc666a534f62; &aa76196c36e5195482e23ee95909d6a4c; &a02e375d7ce5589ce592ef3e186e8c6a5; +&a3619415aa644dd228e380da2a3eaef17; +&aa287c3d9218de7f3f633a7e8ac4d6375; &ab4ef5778ac13a477d0131b5d8dade1e4; &a76e1e372415f1013b0f4fd861c56f2ea; +&a3361edb09d287dbf895768af7d2b67ac; &ad08ce8e4fb40cfb3416c522ca5738730; &ac2cf40da1bec1c1f630828ed99d9fa7c; &a235f867faca505720e2e2fc0dc7523ee; @@ -280,14 +362,26 @@ &a34b064123c25ed2a3df8772bc9148fa4; &a27489d7d314a41da10ff2ea221dc99bd; &a4a70061acbb347c0c6dbc7efc58a825b; +&a83f4022a590da79f06314e332fb57964; &a050f686ed9bf3b9bbaeafa85839f88ea; +&ad0092592ad5c1c075f652460d9d1ef0b; +&ac2355159c0f5222b7a0e5c0bca6691a3; &a6907d352bc8acb64f7672236214e003a; +&a6db9e838b8414ca3182198666b473858; +&a66f950966eccc13d02abf2492a8c2633; +&ae2701c463cc2097670da86ab350096b2; +&a35e3d3dc316e36b8bb63e07dd0384a19; +&aece96f8ec713cecd81455436a33f398c; +&a3836b450a147ddf316f933f14d7fd733; +&a74970f8e563b704aeaf350c021fb5476; +&a57e95a78cb94fdfae389ddd61654c7b7; &ab7d38187b4f79ff0529d4c4c08b1d633; &a600b90a016f69bf4507022af617c8112; &a130a6a07303e6d40c88cc13f0df4f677; &a47f33d823a99a5b6ba0700bd44f2eedb; &ad090a8d9058532d5b76d3c76f0927647; &ac086f90347e9bff367792faa5b55509c; +&aa4744fb9b700d8b0b46ec196cbb95b44; &a80d3837625985b4ea64c9fb8d21a2154; &a00aa26c59c877bc3fe918913a5da59df; &a7b1fc3f4b6f003df1d6b163f86ac2cc3; @@ -317,6 +411,7 @@ &aae7674d788c35e75f2a52af92dc855bc; &ab4b637128ca75fb1cef24e3cba016008; &a7022b9d1c7c194f27b1dd6bc4e093697; +&a22b2e0fbafdb8bafd1f839de21c0b6d3; &aef8e0226f6126afb2453e659221e7330; &aecbf6dfa1f6fa4c17585ac7e4eff69ef; &a2d885644b44b3b9676bb9522b2302d9e; @@ -324,6 +419,7 @@ &aeae065e98e5caf4232a0aecc3a78dae6; &a4ca7eb2183d94674b01f6b4d20a0a8f3; &a2e2ff138201e7a3c659cc2e16a226ea5; +&abaf131b2b3d2ae8d36e8c8432a86c76e; &a418de0bebfad1312e130535833127f08; &a96429758f8b959e506c7a66d5b360b54; &a917d366f9f46037f6a8e01126615b102; @@ -344,13 +440,16 @@ &a7d6411a5dd16d795cf44bbe48c3289ad; &a15e621608a3503fb64669da1d9ca8619; &a7c72c8a8d7d554e521e83060089815fa; +&a41b216b4221003e37430d62741b53674; &a7c8bf8293a571fb2d6d94dc53959266a; &ab54c5530e341558ddfc71ec8ffb45aac; &a9b8b0d208fe7a2581097650c4eed31bf; &a9fa8430a1f63fbea843dbadf6aa070ab; +&a5b4d17dc62ec05996659345c7976e925; &a9114be05b5cf59a0cffc8921b4d5f918; &a9b1d2e56d8d2907f6b9fb0f20f641573; &a8f8cb27d2a1e48303a9597f4e60e731b; +&ab588364a5a6dc5cbef40ba304937535e; &a050b38bceab9f2dd907cbbb0d14ab2f4; &a716d878bc9e3e1fb19a5357ef70823f7; &a6afb5f3f3514b7e47d13299e5064d0af; @@ -369,6 +468,9 @@ &a23b2c788dac918bb541cee278c217004; &a375c8e3fce488c88fd2ad58e421cb109; &a05ea7008eb727c478f18a19acf34e221; +&a2d5abd2e3f494fa8aa5a1fda1e3fe97d; +&aba917d88e24d3cdb67d0a30648baf135; +&a77af4f436f46bbe1c520a69810878738; &a9058a43e855325dd2da653945e7c5317; &ab55327a4128934be29626f54b82503e3; &a18ff41a908bdd56dea489618073337b1; @@ -377,11 +479,16 @@ &a72cacbd2a95ba7e1c27d8220b58a1681; &a625e1803c72496b56195689f9388f40e; &a1cdc594306227014fb9570da9fdfaba5; +&a3ad3cf4e5b2280c1d39e73697d2e0703; +&af65d36d0045a53116ac5cabfbe2532d8; +&a72ee20bc8d2f984c74fb6b2d78aefde9; &aaa714a94f0c1e251775fd03f088f3589; &af64d9784de8ecdcce28f1963d081aa2a; +&a9428ce50ebae3632ff1785b63c1927f2; &a76a6fdb476060a229f6bb52e29d99667; &a984843fd00f52de0c91d72a2f2d35c60; &aa68766b620d78caaa210ddf54e4740c6; +&a8d13ba80513494b100ae5ea4c9447b23; &a9498b8e51ebd5d30b14e4ae51f11a0e4; &a414cd2bf4fbb0240eb4cb3cc3193e8a5; &a92393e692247c0be55c2903ed953eb1f; @@ -395,19 +502,24 @@ &a8169e81c662c3c6f99fcfd31a716f003; &a61486111f2c5646c41de7852a40890d3; &a9ba6cffd73212e01a5a1cf48c370f31b; +&aa6ea0e42d563afd880791f90998b255e; &a5ff4fb227aad23a52510b08738d06635; &a624b692de7106f79b52675e6f6e864db; &ab5ec2471f2a87567d2eda164da9cfc88; &a7f2f6a5c9d5ae84e00a33bc655680cbc; &a86c828962a88c80762ba774eb4689015; +&a1b3c54fa17a87f990cd5c598b8596a7f; &a1ec494594cb2a65f69a4c305135a03dc; &a3024e7b1d5ec82a1746c1bb317b05bdd; &ae56b79980853d5c39cda79745ad43e1c; &afb072dbcb7e8025a801eb32f37a69dfb; &a9cce784055276e298cf721d8e269c31c; &a4fefe2dc30b34efba778dabc938cfb1a; +&a5c0de8e76e98d829ae4248a111b9dcc1; &ad84d3dcc40317a06780d4e68cbec8db0; &a522ad212c78230cdbad7a4a0d8daaadd; +&a43e6009f0c84023ead90b9b3be5dadda; +&a12ef6825039287d0044673d386606895; &ad0a91e7320d3da715c8e58990f5397a4; diff --git a/help/en_US/pwelch.xml b/help/en_US/pwelch.xml new file mode 100644 index 0000000..edc3a51 --- /dev/null +++ b/help/en_US/pwelch.xml @@ -0,0 +1,76 @@ + + + + + + + + pwelch + Estimate power spectral density of data "x" by the Welch (1967) periodogram/FFT method. + + + + + Calling Sequence + + [spectra,freq] = pwelch(x, window, overlap, Nfft, Fs, range, plot_type, detrend, sloppy) + [spectra,freq] = pwelch(x, y, window, overlap, Nfft, Fs, range, plot_type, detrend, sloppy, results) + [spectra,Pxx_ci,freq] = pwelch(x, window, overlap, Nfft, Fs, conf, range, plot_type, detrend, sloppy) + [spectra,Pxx_ci,freq] = pwelch(x, y, window, overlap, Nfft, Fs, conf, range, plot_type, detrend, sloppy, results) + + + + + Parameters + + x: + [non-empty vector] system-input time-series data + y: + [non-empty vector] system-output time-series data + window: + [real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. + overlap: + [real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . + Nfft: + [integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. + Fs: + [real scalar] sampling frequency (Hertz); default=1.0 + conf: + [real scalar] confidence level between 0 and 1. Confidence intervals of the spectral density are estimated from scatter in the periodograms and are returned as Pxx_ci. Pxx_ci(:,1) is the lower bound of the confidence interval and Pxx_ci(:,2) is the upper bound. If there are three return values, or conf is an empty matrix, confidence intervals are calculated for conf=0.95 . If conf is zero or is not given, confidence intervals are not calculated. Confidence intervals can be obtained only for the power spectral density of x; nothing else. + range: + + 'half', 'onesided' : + frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. + 'whole', 'twosided' : + frequency range of the spectrum is -Fs/2 to Fs/2, with negative frequencies stored in "wrap around" order after the positive frequencies; e.g. frequencies for a 10-point 'twosided' spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 + 'shift', 'centerdc' : + same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. + plot_type: + + 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': + specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. + detrend: + 'no-strip', 'none' -- do NOT remove mean value from the data 'short', 'mean' -- remove the mean value of each segment from each segment of the data. + sloppy: + FFT length is rounded up to the nearest integer power of 2 by zero padding. FFT length is adjusted after addition of padding by explicit Nfft argument. The default is to use exactly the FFT and window. + + + + + Description + +Estimate power spectral density of data "x" by the Welch (1967) periodogram/FFT method. The data is divided into segments. If "window" is a vector, each segment has the same length as "window" and is multiplied by "window" before (optional) zero-padding and calculation of its periodogram. If "window" is a scalar, each segment has a length of "window" and a Hamming window is used. The spectral density is the mean of the periodograms, scaled so that area under the spectrum is the same as the mean square of the data. This equivalence is supposed to be exact, but in practice there is a mismatch of up to 0.5% when comparing area under a periodogram with the mean square of the data. + + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 1c0a160..3b7e8d4 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 8b4ef1f..2ec6ce0 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 44b7b1f..f05af2a 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 2f0feea..7e9b346 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 677736a..cdf50b6 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1967 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2602 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 067ca95..ff9d462 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index add47c8..a41a91e 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,14 +2,16 @@ - + + + @@ -42,6 +44,7 @@ + @@ -54,6 +57,7 @@ + @@ -62,17 +66,25 @@ + + + + + + + + @@ -94,6 +106,7 @@ + @@ -161,6 +174,7 @@ + @@ -222,6 +236,7 @@ + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index 4db2aa2..82abfa8 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -2,14 +2,16 @@ - + + + @@ -42,6 +44,7 @@ + @@ -54,6 +57,7 @@ + @@ -62,17 +66,25 @@ + + + + + + + + @@ -94,6 +106,7 @@ + @@ -161,6 +174,7 @@ + @@ -222,6 +236,7 @@ + diff --git a/help/en_US/sigmoid_train.xml b/help/en_US/sigmoid_train.xml index 07a86b7..6f57b3f 100644 --- a/help/en_US/sigmoid_train.xml +++ b/help/en_US/sigmoid_train.xml @@ -17,7 +17,40 @@ sigmoid_train - funcprot(0); + Evaluate a train of sigmoid functions at T. + + + Calling Sequence + + y = sigmoid_train(t, ranges, rc) + + + + + Parameters + + t: + integer + ranges: + matrix + + + + + Description + +The number and duration of each sigmoid is determined from RANGES. Each row of RANGES represents a real interval, e.g. if sigmoid 'i' starts at 't=0.1' and ends at 't=0.5', then 'RANGES(i,:) = [0.1 0.5]'. The input RC is an array that defines the rising and falling time constants of each sigmoid. Its size must equal the size of RANGES. + + + + + Examples + + diff --git a/help/en_US/unwrap2.xml b/help/en_US/unwrap2.xml new file mode 100644 index 0000000..31523de --- /dev/null +++ b/help/en_US/unwrap2.xml @@ -0,0 +1,60 @@ + + + + + + + + unwrap2 + Unwrap radian phases by adding or subtracting multiples of 2*pi. + + + + + Calling Sequence + + B = unwrap(X) + B = unwrap(X, TOL) + B = unwrap(X, TOL, DIM) + + + + + Parameters + + + + + + Description + +This function unwraps radian phases by adding or subtracting multiples of 2*pi as appropriate to remove jumps greater than TOL. + + +TOL defaults to pi. + + +Unwrap will work along the dimension DIM. If DIM is unspecified it defaults to the first non-singleton dimension. + + + + + Examples + + + diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 91ef9fa..94327cb 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/arch_fit.sci b/macros/arch_fit.sci new file mode 100644 index 0000000..3e431a6 --- /dev/null +++ b/macros/arch_fit.sci @@ -0,0 +1,35 @@ +function [A, B] = arch_fit(Y, varargin) +//This functions fits an ARCH regression model to the time series Y using the scoring algorithm in Engle's original ARCH paper. +//Calling Sequence +//[A, B] = arch_fit (Y, X, P, ITER, GAMMA, A0, B0) +//Parameters +//Description +//Fit an ARCH regression model to the time series Y using the scoring algorithm in Engle's original ARCH paper. +// +//The model is +// +// y(t) = b(1) * x(t,1) + ... + b(k) * x(t,k) + e(t), +// h(t) = a(1) + a(2) * e(t-1)^2 + ... + a(p+1) * e(t-p)^2 +// +//in which e(t) is N(0, h(t)), given a time-series vector Y up to time t-1 and a matrix of (ordinary) regressors X up to t. The order of the regression of the residual variance is specified by P. +// +//If invoked as 'arch_fit (Y, K, P)' with a positive integer K, fit an ARCH(K, P) process, i.e., do the above with the t-th row of X given by +// +// [1, y(t-1), ..., y(t-k)] +// +//Optionally, one can specify the number of iterations ITER, the updating factor GAMMA, and initial values a0 and b0 for the scoring algorithm. +funcprot(0); +rhs = argn(2); +lhs=argn(1); +if(rhs<7 | rhs>7) +error("Wrong number of input arguments."); +end +if (lhs<2 | lhs>2) + error("Wrong number of output arguments."); +end + + select(rhs) + case 7 then + [A, B] = callOctave("arch_fit",Y, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6)); + end +endfunction diff --git a/macros/autoreg_matrix.sci b/macros/autoreg_matrix.sci index bc36969..8778a84 100644 --- a/macros/autoreg_matrix.sci +++ b/macros/autoreg_matrix.sci @@ -1,5 +1,22 @@ function y = autoreg_matrix(Y, varargin) - +// Given a time series (vector) Y, return a matrix with ones in the first column and the first K lagged values of Y in the other columns. +//Calling Sequence +//autoreg_matrix(Y, K) +//Parameters +//Y: Vector +//K: Scalar or Vector +//Description +// Given a time series (vector) Y, return a matrix with ones in the first column and the first K lagged values of Y in the other columns. +// +//In other words, for T > K, '[1, Y(T-1), ..., Y(T-K)]' is the t-th row of the result. +// +//The resulting matrix may be used as a regressor matrix in autoregressions. +//Examples +//autoreg_matrix([1,2,3],2) +//ans = +// 1. 0. 0. +// 1. 1. 0. +// 1. 2. 1. funcprot(0); rhs = argn(2) if(rhs<2 | rhs>2) diff --git a/macros/cceps.sci b/macros/cceps.sci index 8360085..3756a5d 100644 --- a/macros/cceps.sci +++ b/macros/cceps.sci @@ -3,10 +3,19 @@ function y = cceps (x,correct) //Calling Sequence //cceps (x) //cceps(x, correct) +//Parameters +//x: vector. +//correct: if 1, a correction method is applied. //Description //This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this. +//Examples +//cceps([1,2,3],1) +//ans = +// 1.92565 +// 0.96346 +// -1.09735 + funcprot(0); -// rhs = argn(2) if(rhs<1 | rhs>2) error("Wrong number of input arguments.") diff --git a/macros/cpsd.sci b/macros/cpsd.sci new file mode 100644 index 0000000..5e56d7a --- /dev/null +++ b/macros/cpsd.sci @@ -0,0 +1,50 @@ +function [PXX, FREQ] = cpsd(X, Y, varargin) +//This function estimates cross power spectrum of data x and y by the Welch (1967) periodogram/FFT method. +//Calling Sequence +//[PXX, FREQ] = cpsd(X, Y) +//[...] = cpsd(X, Y, WINDOW) +//[...] = cpsd(X, Y, WINDOW, OVERLAP) +//[...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT) +//[...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS) +//[...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT, FS, RANGE) +//cpsd(...) +//Parameters +//X, Y: Matrix or integer +//Description +//Estimate cross power spectrum of data X and Y by the Welch (1967) periodogram/FFT method. +//Examples +// [a, b] = cpsd([1,2,3],[4,5,6]) +//ans = +// b = +// 0. +// 0.25 +// 0.5 +// a = +// 2.7804939 +// 4.4785583 + 1.0743784i +// 0.7729851 +funcprot(0); +rhs=argn(2); +lhs=argn(1); +if(rhs<2 | rhs>7) then + error("Wrong number of input arguments."); +end +if (lhs<2 | lhs>2) + error("Wrong number of output arguments."); +end +select(rhs) +case 2 then + [PXX, FREQ] = callOctave("cpsd",X, Y); +case 3 then + [PXX, FREQ] = callOctave("cpsd",X, Y, varargin(1)); +case 4 then + [PXX, FREQ] = callOctave("cpsd",X, Y, varargin(1), varargin(2)); +case 5 then + [PXX, FREQ] = callOctave("cpsd",X, Y, varargin(1), varargin(2), varargin(3)); +case 6 then + [PXX, FREQ] = callOctave("cpsd",X, Y, varargin(1), varargin(2), varargin(3), varargin(4)); +case 7 then + [PXX, FREQ] = callOctave("cpsd",X, Y, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5)); +end + +endfunction diff --git a/macros/dwt.sci b/macros/dwt.sci index 60dc7f6..b564c7c 100644 --- a/macros/dwt.sci +++ b/macros/dwt.sci @@ -1,5 +1,22 @@ function [U, V] = dwt(X, varargin) - +//Discrete wavelet transform (1D) +//Calling Sequence +//[U, V] = dwt(X, WNAME) +//[U, V] = dwt(X, HP, GP) +//[U, V] = dwt(X, HP, GP,...) +//Parameters +//Inputs: +//X: Signal Vector. +//WNAME: Wavelet name. +//HP: Coefficients of low-pass decomposition FIR filter. +//GP: Coefficients of high-pass decomposition FIR filter. +//Outputs: +//U: Signal vector of average, approximation. +//V: Signal vector of difference, detail. +//Description +//This function calculates the discrete wavelet transform (1D). +//Examples +// funcprot(0); rhs = argn(2) if(rhs<2 | rhs>4) diff --git a/macros/fftconv.sci b/macros/fftconv.sci index 4ec2815..d39441d 100644 --- a/macros/fftconv.sci +++ b/macros/fftconv.sci @@ -1,5 +1,16 @@ function y = fftconv(X, Y, varargin) - +//Convolve two vectors using the FFT for computation. +//Calling Sequence +//Y = fftconv(X, Y) +//Y = fftconv(X, Y, N) +//Parameters +//X, Y: Vectors +//Description +//Convolve two vectors using the FFT for computation. 'c' = fftconv (X, Y)' returns a vector of length equal to 'length(X) + length (Y) - 1'. If X and Y are the coefficient vectors of two polynomials, the returned value is the coefficient vector of the product polynomial. +//Examples +//fftconv([1,2,3], [3,4,5]) +//ans = +// 3. 10. 22. 22. 15. funcprot(0); rhs = argn(2) if(rhs<2 | rhs>3) @@ -10,6 +21,6 @@ end case 2 then y = callOctave("fftconv", X, Y); case 3 then - y = callOctave("ifftn",X, Y, varargin(1)); + y = callOctave("fftconv",X, Y, varargin(1)); end endfunction diff --git a/macros/fftn.sci b/macros/fftn.sci index ba7f352..b8b4170 100644 --- a/macros/fftn.sci +++ b/macros/fftn.sci @@ -1,5 +1,16 @@ function y = fftn(A, SIZE) - +//This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. +//Calling Sequence +//Y = fftn(A) +//Y = fftn(A, size) +//Parameters +//A: Matrix +//Description +//This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros. +//Examples +//fftn([2,3,4]) +//ans = +// 9. - 1.5 + 0.8660254i - 1.5 - 0.8660254i funcprot(0); rhs = argn(2) if(rhs<1 | rhs>2) diff --git a/macros/fht.sci b/macros/fht.sci index c6fd1bd..f7e5c8e 100644 --- a/macros/fht.sci +++ b/macros/fht.sci @@ -1,4 +1,17 @@ function y=fht(d,n,dim) +//The Function calculates the Fast Hartley Transform of real input. +//Calling Sequence +//M = fht (D) +//M = fht (D, N) +//M = fht (D, N, DIM) +//Parameters +//Description +//This function calculates the Fast Hartley transform of real input D. If D is a matrix, the Hartley transform is calculated along the columns by default. +//Examples +//fht(1:4) +//ans = +// 10 -4 -2 0 +//This function is being called from Octave. funcprot(0); rhs=argn(2); if(rhs<1 | rhs>3) diff --git a/macros/filter1.sci b/macros/filter1.sci index 2a17374..3c32928 100644 --- a/macros/filter1.sci +++ b/macros/filter1.sci @@ -1,5 +1,38 @@ function [Y, SF] = filter1 (B, A, X, SI, DIM) - +//Apply a 1-D digital filter to the data X. +//Calling Sequence +//Y = filter1(B, A, X) +//[Y, SF] = filter1(B, A, X, SI) +//[Y, SF] = filter1(B, A, X, [], DIM) +//[Y, SF] = filter1(B, A, X, SI, DIM) +//Parameters +//B: Matrix or Integer +//A: Matrix or Integer +//X: Matrix or Integer +//Description +//'filter' returns the solution to the following linear, time-invariant difference equation: +// +// N M +// +// SUM a(k+1) y(n-k) = SUM b(k+1) x(n-k) for 1<=n<=length(x) +// +// k=0 k=0 +// +//where N=length(a)-1 and M=length(b)-1. The result is calculated over the first non-singleton dimension of X or over DIM if supplied. +// +//An equivalent form of the equation is: +// +// N M +// +// y(n) = - SUM c(k+1) y(n-k) + SUM d(k+1) x(n-k) for 1<=n<=length(x) +// +// k=1 k=0 +// +// where c = a/a(1) and d = b/a(1). +//Examples +//filter([1,2,3], [3,4,5], [5,6,7]) +//ans = +// 1.6666667 3.1111111 4.4074074 funcprot(0); lhs = argn(1) rhs = argn(2) diff --git a/macros/filter2.sci b/macros/filter2.sci index 82f3f0b..b8b48e4 100644 --- a/macros/filter2.sci +++ b/macros/filter2.sci @@ -1,5 +1,20 @@ function Y = filter2 (B, X, SHAPE) - +//Apply the 2-D FIR filter B to X. +//Calling Sequence +//Y = filter2(B, X) +//Y = filter2(B, X, SHAPE) +//Parameters +//B, X: Matrix +// SHAPE: +// 'full': pad X with zeros on all sides before filtering. +// 'same': unpadded X (default) +// 'valid': trim X after filtering so edge effects are no included. +//Description +//This function applies the 2-D FIR filter B to X. If the argument SHAPE is specified, return an array of the desired shape. +//Examples +//filter2([1,3], [4,5]) +//ans = +// 19. 5. funcprot(0); lhs = argn(1) rhs = argn(2) diff --git a/macros/findpeaks.sci b/macros/findpeaks.sci new file mode 100644 index 0000000..3e7ce47 --- /dev/null +++ b/macros/findpeaks.sci @@ -0,0 +1,58 @@ +function [PKS, LOC, EXTRA] = findpeaks(DATA, varargin) +//This function find peaks on DATA. +//Calling Sequence +//[PKS, LOC, EXTRA] = findpeaks(DATA) +//[PKS, LOC, EXTRA] = findpeaks(..., PROPERTY, VALUE) +//[PKS, LOC, EXTRA] = findpeaks(..., "DoubleSided") +//Description +//Peaks of a positive array of data are defined as local maxima. For double-sided data, they are maxima of the positive part and minima of the negative part. DATA is expected to be a single column vector. +// +//The function returns the value of DATA at the peaks in PKS. The index indicating their position is returned in LOC. +// +//The third output argument is a structure with additional information: +// +//"parabol": +// A structure containing the parabola fitted to each returned peak. The structure has two fields, "x" and "pp". The field "pp" contains the coefficients of the 2nd degree polynomial and "x" the extrema of the intercal here it was fitted. +// +//"height": +// The estimated height of the returned peaks (in units of DATA). +// +//"baseline": +// The height at which the roots of the returned peaks were calculated (in units of DATA). +// +//"roots": +// The abscissa values (in index units) at which the parabola fitted to each of the returned peaks crosses the "baseline" value. The width of the peak is calculated by 'diff(roots)'. +// +//This function accepts property-value pair given in the list below: +// +//"MinPeakHeight": +// Minimum peak height (positive scalar). Only peaks that exceed this value will be returned. For data taking positive and negative values use the option "DoubleSided". Default value '2*std (abs (detrend (data,0)))'. +// +//"MinPeakDistance": +// Minimum separation between (positive integer). Peaks separated by less than this distance are considered a single peak. This distance is also used to fit a second order polynomial to the peaks to estimate their width, therefore it acts as a smoothing parameter. Default value 4. +// +//"MinPeakWidth": +// Minimum width of peaks (positive integer). The width of the peaks is estimated using a parabola fitted to the neighborhood of each peak. The neighborhood size is equal to the value of "MinPeakDistance". The width is evaluated at the half height of the peak with baseline at "MinPeakHeight". Default value 2. +// +//"DoubleSided": +// Tells the function that data takes positive and negative values. The base-line for the peaks is taken as the mean value of the function. This is equivalent as passing the absolute value of the data after removing the mean. +funcprot(0); +rhs=argn(2); +lhs=argn(1) +if(rhs<1 | rhs>2) then + error("Wrong number of input arguments."); +end +if(lhs<3 | lhs>3) then + error("Wrong number of output arguments."); +end + +select(rhs) +case 1 then + [PKS, LOC, EXTRA] = callOctave("findpeaks", DATA); +case 2 then + [PKS, LOC, EXTRA] = callOctave("findpeaks", DATA, varargin(1)); +case 3 then + [PKS, LOC, EXTRA] = callOctave("findpeaks", DATA, varargin(1), varargin(2)); +end + +endfunction diff --git a/macros/fir1.sci b/macros/fir1.sci index e3ff152..70c95b7 100644 --- a/macros/fir1.sci +++ b/macros/fir1.sci @@ -1,7 +1,27 @@ function B = fir1(N, W, varargin) - +//Produce an order N FIR filter with the given frequency cutoff, returning the N+1 filter coefficients in B. +//Calling Sequence +//B = fir1(N, W) +//B = fir1(N, W, TYPE) +//B = fir1(N, W, TYPE, WINDOW) +//B = fir1(N, W, TYPE, WINDOW, NOSCALE) +//Parameters +//N: Integer +//W: Integer or Vector +//Description +// Produce an order N FIR filter with the given frequency cutoff W, returning the N+1 filter coefficients in B. If W is a scalar, it specifies the frequency cutoff for a lowpass or highpass filter. If W is a two-element vector, the two values specify the edges of a bandpass or bandstop filter. If W is an N-element vector, each value specifies a band edge of a multiband pass/stop filter. +// +//The filter TYPE can be specified with one of the following strings: "low", "high", "stop", "pass", "bandpass", "DC-0", or "DC-1". The default is "low" is W is a scalar, "pass" if W is a pair, or "DC-0" if W is a vector with more than 2 elements. +// +//An optional shaping WINDOW can be given as a vector with length N+1. If not specified, a Hamming window of length N+1 is used. +// +//With the option "noscale", the filter coefficients are not normalized. The default is to normalize the filter such that the magnitude response of the center of the first passband is 1. +//Examples +// fir1 (5, 0.4) +//ans = +// 9.2762e-05 9.5482e-02 4.0443e-01 4.0443e-01 9.5482e-02 9.2762e-05 funcprot(0); -rhs = argn(2) +rhs = argn(2); if(rhs<2 | rhs>5) error("Wrong number of input arguments."); end @@ -9,11 +29,11 @@ end select(rhs) case 2 then B = callOctave("fir1", N, W); - case 3 then - B = callOctave("fir1", N, W, varargin(1)); - case 4 then - B = callOctave("fir1", N, W, varargin(1), varargin(2)); - case 5 then - B = callOctave("fir1", N, W, varargin(1), varargin(2), varargin(3)); + case 3 then + B = callOctave("fir1", N, W, varargin(1)); + case 4 then + B = callOctave("fir1", N, W, varargin(1), varargin(2)); + case 5 then + B = callOctave("fir1", N, W, varargin(1), varargin(2), varargin(3)); end endfunction diff --git a/macros/fir2.sci b/macros/fir2.sci index 418a9e4..990fb3e 100644 --- a/macros/fir2.sci +++ b/macros/fir2.sci @@ -1,7 +1,29 @@ function B = fir2(N, F, M, varargin) - +//Produce an order N FIR filter with arbitrary frequency response M over frequency bands F, returning the N+1 filter coefficients in B. +//Calling Sequence +//B = fir2(N, F, M) +//B = fir2(N, F, M, GRID_N) +//B = fir1(N, F, M, GRID_N, RAMP_N) +//B = fir1(N, F, M, GRID_N, RAMP_N, WINDOW) +//Parameters +//N: Integer +//F, M: Vector +//Description +//Produce an order N FIR filter with arbitrary frequency response M over frequency bands F, returning the N+1 filter coefficients in B. The vector F specifies the frequency band edges of the filter response and M specifies the magnitude response at each frequency. +// +//The vector F must be nondecreasing over the range [0,1], and the first and last elements must be 0 and 1, respectively. A discontinuous jump in the frequency response can be specified by duplicating a band edge in F with different values in M. +// +//The resolution over which the frequency response is evaluated can be controlled with the GRID_N argument. The default is 512 or the next larger power of 2 greater than the filter length. +// +//The band transition width for discontinuities can be controlled with the RAMP_N argument. The default is GRID_N/25. Larger values will result in wider band transitions but better stopband rejection. +// +//An optional shaping WINDOW can be given as a vector with length N+1. If not specified, a Hamming window of length N+1 is used. +//Examples +// fir2 (10, [0, 0.5, 1], [1, 2, 3]) +//ans = +// -0.00130 0.00000 -0.01792 0.00000 -0.36968 2.00000 -0.36968 0.00000 -0.01792 0.00000 -0.00130 funcprot(0); -rhs = argn(2) +rhs = argn(2); if(rhs<3 | rhs>6) error("Wrong number of input arguments."); end @@ -9,11 +31,11 @@ end select(rhs) case 3 then B = callOctave("fir2", N, F, M); - case 4 then - B = callOctave("fir2", N, F, M, varargin(1)); - case 5 then - B = callOctave("fir2", N, F, M, varargin(1), varargin(2)); - case 6 then - B = callOctave("fir2", N, F, M, varargin(1), varargin(2), varargin(3)); + case 4 then + B = callOctave("fir2", N, F, M, varargin(1)); + case 5 then + B = callOctave("fir2", N, F, M, varargin(1), varargin(2)); + case 6 then + B = callOctave("fir2", N, F, M, varargin(1), varargin(2), varargin(3)); end endfunction diff --git a/macros/freqz.sci b/macros/freqz.sci new file mode 100644 index 0000000..dc71b75 --- /dev/null +++ b/macros/freqz.sci @@ -0,0 +1,71 @@ +function [H, W] = freqz(B, varargin) +//This function returns the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively. +//Calling Sequence +//[H, W] = freqz(B, A, N, "whole") +//[H, W] = freqz(B) +//[H, W] = freqz(B, A) +//[H, W] = freqz(B, A, N) +//H = freqz(B, A, W) +//[H, W] = freqz(..., FS) +//freqz(...) +//Parameters +//B, A, N: Integer or Vector +//Description +// Return the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively. +// +//The response is evaluated at N angular frequencies between 0 and 2*pi. +// +//The output value W is a vector of the frequencies. +// +//If A is omitted, the denominator is assumed to be 1 (this corresponds to a simple FIR filter). +// +//If N is omitted, a value of 512 is assumed. For fastest computation, N should factor into a small number of small primes. +// +//If the fourth argument, "whole", is omitted the response is evaluated at frequencies between 0 and pi. +// +// 'freqz (B, A, W)' +// +//Evaluate the response at the specific frequencies in the vector W. The values for W are measured in radians. +// +// '[...] = freqz (..., FS)' +// +//Return frequencies in Hz instead of radians assuming a sampling rate FS. If you are evaluating the response at specific frequencies W, those frequencies should be requested in Hz rather than radians. +// +// 'freqz (...)' +// +//Plot the magnitude and phase response of H rather than returning them. +//Examples +//H = freqz([1,2,3], [4,3], [1,2,5]) +//ans = +// 0.4164716 - 0.5976772i - 0.4107690 - 0.2430335i 0.1761948 + 0.6273032i +funcprot(0); +rhs=argn(2); +lhs=argn(1); +if(rhs<2 | rhs>4) then + error("Wrong number of input arguments."); +end +if (lhs<1 | lhs>2) + error("Wrong number of output arguments."); +end +if (lhs==1) then +select(rhs) +case 1 then + H = callOctave("freqz",B); +case 2 then + H = callOctave("freqz",B, varargin(1)); +case 3 then + H = callOctave("freqz",B, varargin(1), varargin(2)); +end +elseif (lhs==2) then + select(rhs) +case 1 then + [H, W] = callOctave("freqz",B); +case 2 then + [H, W] = callOctave("freqz",B, varargin(1)); +case 3 then + [H, W] = callOctave("freqz",B, varargin(1), varargin(2)); +case 4 then + [H, W] = callOctave("freqz", B, varargin(1), varargin(2), varargin(3)); +end +end +endfunction diff --git a/macros/idct1.sci b/macros/idct1.sci index d398e56..5015187 100644 --- a/macros/idct1.sci +++ b/macros/idct1.sci @@ -1,14 +1,27 @@ function y = idct1(x,n) +//Compute the inverse discrete cosine transform of input. +//Calling Sequence +//Y = idct1(X) +//Y = idct1(X, N) +//Parameters +//X: Matrix or integer +//N: If N is given, then X is padded or trimmed to length N before computing the transform. +//Description +// This function computes the inverse discrete cosine transform of input X. If N is given, then X is padded or trimmed to length N before computing the transform. If X is a matrix, compute the transform along the columns of the the matrix. The transform is faster if X is real-valued and even length. +//Examples +//idct1([1,3,6]) +//ans = +// 5.1481604 - 4.3216292 0.9055197 funcprot(0); -rhs=argn(2) +rhs=argn(2); if (rhs<1 | rhs>2) then - error("Wrong number of input arguments.") + error("Wrong number of input arguments."); end select(rhs) case 1 then - y=callOctave("idct",x) + y=callOctave("idct",x); case 2 then - y=callOctave("idct",x,n) + y=callOctave("idct",x,n); end endfunction diff --git a/macros/idct2.sci b/macros/idct2.sci index 1cfacab..c48980a 100644 --- a/macros/idct2.sci +++ b/macros/idct2.sci @@ -1,8 +1,22 @@ function y = idct2(x,varargin) +//This function computes the inverse 2-D discrete cosine transform of input matrix. +//Calling Sequence +//Y = idct2(X) +//Y = idct2(X, M, N) +//Y = idct2(X, [M, N]) +//Parameters +//X: Matrix or integer +//M, N: If specified Matrix X is padded with M rows and N columns. +//Description +// This function computes the inverse 2-D discrete cosine transform of matrix X. If M and N are specified, the input is either padded or truncated to have M rows and N columns. +//Examples +//idct2(3, 4, 6) +//ans = +// 2.811261 0.612372 -0.525856 0.250601 0.612372 -0.086516 funcprot(0); -rhs=argn(2) +rhs=argn(2); if (rhs<1 | rhs>3) then - error("Wrong number of input arguments.") + error("Wrong number of input arguments."); end select(rhs) case 1 then diff --git a/macros/idst1.sci b/macros/idst1.sci index 5276a70..98fc874 100644 --- a/macros/idst1.sci +++ b/macros/idst1.sci @@ -1,4 +1,17 @@ function y = idst1(x,varargin) +//This function computes the inverse type I discrete sine transform. +//Calling Sequence +//Y = idst(X) +//Y = idst(X, N) +//Parameters +//X: Matrix or integer +//N: If N is given, then X is padded or trimmed to length N before computing the transform. +//Description +//This function computes the inverse type I discrete sine transform of Y. If N is given, then Y is padded or trimmed to length N before computing the transform. If Y is a matrix, compute the transform along the columns of the the matrix. +//Examples +//idst([1,3,6]) +//ans = +// 3.97487 -2.50000 0.97487 funcprot(0); rhs=argn(2); if(rhs<1 | rhs>2) then diff --git a/macros/ifftn.sci b/macros/ifftn.sci index 269a77d..3d26c04 100644 --- a/macros/ifftn.sci +++ b/macros/ifftn.sci @@ -1,5 +1,17 @@ function y = ifftn(A, varargin) - +//Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. +//Calling Sequence +//Y = ifftn(A) +//Y = ifftn(A, size) +//Parameters +//A: Matrix +//Description +//Compute the inverse N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the inverse FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros. +//Examples +//ifftn([2,3,4]) +//ans = +// 3. - 0.5 - 0.2886751i - 0.5 + 0.2886751i +funcprot(0); funcprot(0); rhs = argn(2) if(rhs<1 | rhs>2) diff --git a/macros/lib b/macros/lib index d265058..4261b2e 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/names b/macros/names index c6a8d88..fb6e9a7 100644 --- a/macros/names +++ b/macros/names @@ -2,6 +2,7 @@ ac2poly ac2rc arParEst arburg +arch_fit arcov armcov aryule @@ -38,6 +39,7 @@ cmorwavf convmtx corrmtx cplxreal +cpsd cummax cummin czt @@ -65,6 +67,7 @@ fft2 fftconv fftfilt fftn +fftshift1 fht filter1 filter2 @@ -72,6 +75,7 @@ filternorm filtfilt filtic filtord +findpeaks fir1 fir2 firpmord @@ -80,6 +84,7 @@ flattopwin fracshift fractdiff freqs +freqz fwhm fwhmjlt fwht @@ -102,6 +107,7 @@ idct2 idst1 ifft ifft2 +ifftn ifftshift1 ifht ifwht @@ -170,6 +176,7 @@ pulseperiod pulsesep pulsewidth pulstran +pwelch rc2ac rc2is rc2lar diff --git a/macros/pwelch.sci b/macros/pwelch.sci new file mode 100644 index 0000000..3e4aa8d --- /dev/null +++ b/macros/pwelch.sci @@ -0,0 +1,67 @@ +function [spectra, Pxx_ci, freqn] = pwelch(x, varargin) +//Estimate power spectral density of data "x" by the Welch (1967) periodogram/FFT method. +//Calling Sequence +//[spectra,freq] = pwelch(x, window, overlap, Nfft, Fs, range, plot_type, detrend, sloppy) +//[spectra,freq] = pwelch(x, y, window, overlap, Nfft, Fs, range, plot_type, detrend, sloppy, results) +//[spectra,Pxx_ci,freq] = pwelch(x, window, overlap, Nfft, Fs, conf, range, plot_type, detrend, sloppy) +//[spectra,Pxx_ci,freq] = pwelch(x, y, window, overlap, Nfft, Fs, conf, range, plot_type, detrend, sloppy, results) +//Parameters +//x: [non-empty vector] system-input time-series data +// +//y: [non-empty vector] system-output time-series data +// +//window: [real vector] of window-function values between 0 and 1; the data segment has the same length as the window. Default window shape is Hamming. [integer scalar] length of each data segment. The default value is window=sqrt(length(x)) rounded up to the nearest integer power of 2; see 'sloppy' argument. +// +//overlap: [real scalar] segment overlap expressed as a multiple of window or segment length. 0 <= overlap < 1, The default is overlap=0.5 . +// +//Nfft: [integer scalar] Length of FFT. The default is the length of the "window" vector or has the same value as the scalar "window" argument. If Nfft is larger than the segment length, "seg_len", the data segment is padded with "Nfft-seg_len" zeros. The default is no padding. Nfft values smaller than the length of the data segment (or window) are ignored silently. +// +//Fs:[real scalar] sampling frequency (Hertz); default=1.0 +// +//conf: [real scalar] confidence level between 0 and 1. Confidence intervals of the spectral density are estimated from scatter in the periodograms and are returned as Pxx_ci. Pxx_ci(:,1) is the lower bound of the confidence interval and Pxx_ci(:,2) is the upper bound. If there are three return values, or conf is an empty matrix, confidence intervals are calculated for conf=0.95 . If conf is zero or is not given, confidence intervals are not calculated. Confidence intervals can be obtained only for the power spectral density of x; nothing else. +// +//range: +//'half', 'onesided' : frequency range of the spectrum is zero up to but not including Fs/2. Power from negative frequencies is added to the positive side of the spectrum, but not at zero or Nyquist (Fs/2) frequencies. This keeps power equal in time and spectral domains. See reference [2]. +//'whole', 'twosided' : frequency range of the spectrum is -Fs/2 to Fs/2, with negative frequencies stored in "wrap around" order after the positive frequencies; e.g. frequencies for a 10-point 'twosided' spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 +//'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If data (x and y) are real, the default range is 'half', otherwise default range is 'whole'. +// +//plot_type: +//'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db': specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value. +// +//detrend: 'no-strip', 'none' -- do NOT remove mean value from the data 'short', 'mean' -- remove the mean value of each segment from each segment of the data. +//'linear', -- remove linear trend from each segment of the data. +//'long-mean' -- remove the mean value from the data before splitting it into segments. This is the default. +// +//sloppy: FFT length is rounded up to the nearest integer power of 2 by zero padding. FFT length is adjusted after addition of padding by explicit Nfft argument. The default is to use exactly the FFT and window. +//Description +//Estimate power spectral density of data "x" by the Welch (1967) periodogram/FFT method. The data is divided into segments. If "window" is a vector, each segment has the same length as "window" and is multiplied by "window" before (optional) zero-padding and calculation of its periodogram. If "window" is a scalar, each segment has a length of "window" and a Hamming window is used. The spectral density is the mean of the periodograms, scaled so that area under the spectrum is the same as the mean square of the data. This equivalence is supposed to be exact, but in practice there is a mismatch of up to 0.5% when comparing area under a periodogram with the mean square of the data. +funcprot(0); +rhs=argn(2); +lhs=argn(1) +if(rhs<9 | rhs>9) then + error("Wrong number of input arguments."); +end +if(rhs<11 | rhs>11) then + error("Wrong number of input arguments."); +end +if(lhs<2 | lhs>3) then + error("Wrong number of output arguments."); +end +select(rhs) +case 9 then + select(lhs) + case 2 then + [spectra, freqn] = callOctave("pwelch", x, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6), varargin(7), varargin(8)); + case 3 then + [spectra, Pxx_ci, freqn] = callOctave("pwelch", x, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6), varargin(7), varargin(8)); + end +case 11 then + select(lhs) + case 2 then + [spectra, freqn] = callOctave("pwelch", x, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6), varargin(7), varargin(8), varargin(9), varargin(10)); + case 3 then + [spectra, Pxx_ci, freqn] = callOctave("pwelch", x, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6), varargin(7), varargin(8), varargin(9), varargin(10)); + end +end + +endfunction diff --git a/macros/sigmoid_train.sci b/macros/sigmoid_train.sci index bba751d..181584a 100644 --- a/macros/sigmoid_train.sci +++ b/macros/sigmoid_train.sci @@ -1,4 +1,16 @@ function y =sigmoid_train(t, ranges, rc) +// Evaluate a train of sigmoid functions at T. +//Calling Sequence +//y = sigmoid_train(t, ranges, rc) +//Parameters +//t: integer +//ranges: matrix +//Description +//The number and duration of each sigmoid is determined from RANGES. Each row of RANGES represents a real interval, e.g. if sigmoid 'i' starts at 't=0.1' and ends at 't=0.5', then 'RANGES(i,:) = [0.1 0.5]'. The input RC is an array that defines the rising and falling time constants of each sigmoid. Its size must equal the size of RANGES. +//Examples +//sigmoid_train(0.1,[1:3],4) +//ans = +// 0.27375 funcprot(0); rhs=argn(2); if (rhs<3 | rhs>3) then diff --git a/macros/unwrap2.sci b/macros/unwrap2.sci index 5b19283..b8ea9de 100644 --- a/macros/unwrap2.sci +++ b/macros/unwrap2.sci @@ -1,20 +1,35 @@ function Y = unwrap2 (X, TOL, DIM) - +//Unwrap radian phases by adding or subtracting multiples of 2*pi. +//Calling Sequence +//B = unwrap(X) +//B = unwrap(X, TOL) +//B = unwrap(X, TOL, DIM) +//Parameters +//Description +//This function unwraps radian phases by adding or subtracting multiples of 2*pi as appropriate to remove jumps greater than TOL. +// +// TOL defaults to pi. +// +//Unwrap will work along the dimension DIM. If DIM is unspecified it defaults to the first non-singleton dimension. +//Examples +//unwrap2([1,2,3]) +//ans = +// 1. 2. 3. funcprot(0); -lhs = argn(1) -rhs = argn(2) +lhs = argn(1); +rhs = argn(2); if (rhs < 1 | rhs > 3) -error("Wrong number of input arguments.") +error("Wrong number of input arguments."); end select(rhs) case 1 then - Y = callOctave("unwrap",X) + Y = callOctave("unwrap",X); case 2 then - Y = callOctave("unwrap",X,TOL) - case 3 then - Y = callOctave("unwrap",X,TOL,DIM) - end + Y = callOctave("unwrap",X,TOL); + case 3 then + Y = callOctave("unwrap",X,TOL,DIM); + end endfunction diff --git a/macros/xcorr2.sci b/macros/xcorr2.sci index e73f00f..688dc3a 100644 --- a/macros/xcorr2.sci +++ b/macros/xcorr2.sci @@ -4,12 +4,10 @@ function c = xcorr2 (a, b, biasflag) //c = xcorr2 (a) //c = xcorr2 (a, b) //c = xcorr2 (a, b, biasflag) - //Parameters //a: //b: //biasflag: - //Description //This is an Octave function. @@ -21,16 +19,16 @@ funcprot(0); rhs = argn(2) if(rhs<1 | rhs>3) -error("Wrong number of input arguments.") +error("Wrong number of input arguments."); end select(rhs) case 1 then - c = callOctave("xcorr2",a) + c = callOctave("xcorr2",a); case 2 then - c = callOctave("xcorr2",a,b) + c = callOctave("xcorr2",a,b); case 3 then - c = callOctave("xcorr2",a,b,biasflag) - end + c = callOctave("xcorr2",a,b,biasflag); + end; endfunction -- cgit