Commit Graph

50 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Sébastien Villemot ce49cd95df
Add missing iscolumn and ismatrix for MATLAB < R2010b
Also fix a bug in isrow (it was not checking the rank of the array).
2018-11-13 16:59:27 +01:00
Stéphane Adjemian(Charybdis) ac3af2052a Remove test from Octave testsuite.
The function is only called by Matlab if the statistics toolbox is not available.
2018-07-18 11:14:47 +02:00
Stéphane Adjemian(Charybdis) 9d01b17e03 Removed one unit test from Octave testsuite. 2018-07-17 11:30:20 +02:00
Sébastien Villemot 57f6183d2f Move some functions out of missing/stats/, since they are only needed for MATLAB 2018-06-06 13:02:42 +02:00
Sébastien Villemot 7b546ba696 Compatibility fix for MATLAB < R2010b (7.11) 2018-05-30 17:44:46 +02:00
Stéphane Adjemian(Charybdis) afbac2e8eb Added strsplit routine in missing. 2018-05-16 16:41:43 +02:00
Sébastien Villemot e2c2f2d966 Remove fallbacks for ilu, linsolve and ordschur under Octave
These functions are all included in Octave 4.2.
2018-05-16 10:48:44 +02:00
Stéphane Adjemian(Charybdis) 055ffb0b9e Added second input argument to missing/nanmean routine.
This additional argument is optional and can be used to specify along which
dimension the mean has to be computed.

Fixes the bug introduced in b4204f8b9e for those
who do not have the statistics toolbox.
2018-01-13 00:10:50 +01:00
Johannes Pfeifer fa26ab10e0 Make isfile.m command work with Matlab versions before 9.1 2017-10-17 09:14:15 +02:00
Stéphane Adjemian (Charybdis) d4e3dbe370 Fixes #1541. 2017-10-16 23:23:58 +02:00
Stéphane Adjemian (Scylla) 560a047a53 Moved isfile routine in missing.
This routine has been introduced in R2017b. Closes #1523.
2017-10-10 13:33:32 +02:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 76097a799f Added missing struct2array routine. 2017-03-22 15:20:13 +01:00
Johannes Pfeifer ce4ab7f7d8 Unit test wblinv.m under Octave: adjust tolerance 2017-01-18 10:59:53 +01:00
Johannes Pfeifer fccd164926 Provide lower tolerance to Octave's quadv function as integration otherwise stops prematurely 2016-11-10 17:33:18 +01:00
Stéphane Adjemian (Lupi) 33d35bc3c5 Added quantile routine in missing.
This is missing if the stats toolbox is not available. Integration test
TeX/fs2000_corr_ME.mod was failing because of its absence.
2016-06-16 14:33:57 +02:00
Stéphane Adjemian(Charybdis) 7c53ea1e96 Fixed unit tests.
(cherry picked from commit 2cdfc0518350e4f26dd406b1730f2cf20ce29e07)
2016-04-14 17:21:37 +02:00
Johannes Pfeifer 6dddd7a8d4 Add corr.m to missing/stats 2016-04-09 15:22:40 +02:00
Houtan Bastani c386be3fb7 submodule update: reporting (remove strjoin) 2016-02-24 14:41:22 +01:00
Stéphane Adjemian (Charybdis) 5834ed4446 Added checks for the input arguments of wblinv routine. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) d676c67f03 Added CDF for the Weibull distribution. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 02d53b5d1d Use statistics toolbox if available for the Weibull inverse CDF. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 5fb1b1cc23 Added Weibull prior. 2015-12-04 14:50:44 +01:00
Houtan Bastani 97e93941c5 gsa: corrcoef: add missing function from octave forge nan package, #796 2014-11-25 11:25:45 +01:00
Houtan Bastani 103788bb5b gsa: add corrcoef from octave forge nan package. closes #796 2014-11-24 17:28:38 +01:00
Sébastien Villemot 5308da2cad Upgrade the minimum requirement to MATLAB 7.5 (R2007b). 2014-02-03 15:52:54 +01:00
Johannes Pfeifer 90fa92f8a9 Adds chi2cdf function if Statistics toolbox is missing 2013-09-26 10:19:05 +02:00
Sébastien Villemot 2bc167fc6a ILU wrapper around LUINC: don't test setup.type
It is anyway impossible to have exactly the same behaviour of ilu and luinc
with respect to zero filling and maximum pivot
2013-04-05 15:05:19 +02:00
Houtan Bastani 1f9e6dea8d add strjoin to missing 2013-04-04 11:35:45 +02:00
Sébastien Villemot 3025a14ed9 Adapt for removal of luinc in MATLAB R2013a 2013-03-25 12:05:56 +01:00
Sébastien Villemot db62e3d7a0 issquare exists under Octave and returns the matrix dim if it is square 2012-08-06 18:26:16 +02:00
Sébastien Villemot 2e65a9ab96 Provide a better implementation of linsolve for Octave
Closes: #273
2012-08-06 18:26:16 +02:00
Michel Juillard d32e076b77 adding missing function linsolve for Octave (inefficient and minimal implementation
for current needs)
2012-07-22 22:18:32 +02:00
Sébastien Villemot 2057365143 Require at least Octave 3.2.2 (and therefore drop rcond.m and bicgstab.m)
Octave 3.2 has been around for a long time, and is included in most
distributions.
2012-04-03 17:57:38 +02:00
Sébastien Villemot f9ecc164ce Move 'nanmean' under 'matlab/missing' and add the necessary logic 2011-09-27 16:59:21 +02:00
Michel Juillard 0359c2801d modifies alternative function for betapdf() for large values of a and b 2011-03-17 20:13:09 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot 757a9067c0 Global reindentation of MATLAB files 2011-02-04 17:17:48 +01:00
Sébastien Villemot 02fd6e668c Add error message for non-implemented features of gamrnd.m 2011-01-13 12:28:44 +01:00
Sébastien Villemot 81823ad035 New oct-file for "ordschur": the diffuse filter now works under Octave 2010-10-21 15:43:13 +02:00
Stéphane Adjemian (Charybdis) 9754bc7afa Fixed bug. 2010-02-19 00:31:43 +01:00
Stéphane Adjemian (Charybdis) 1fbe76b95d Added function a clone of matlab's built in bsxfun (missing in versions prior to 7.4). 2010-02-19 00:31:43 +01:00
Sébastien Villemot 1ae1b5ff20 Backporting bicgstab function from Octave 3.2 to Octave 3.0 (closes #81) 2010-02-17 18:40:52 +01:00
sebastien c0c0d48fed Fix gamrnd.m: for big integer values of parameter a, the gaussian approximation was incorrect (closes #67)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3281 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-21 11:08:59 +00:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien a3f639aba5 Moved vec.m under matlab/missing/vec, and add it into the path only under MATLAB (vec exists under Octave)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2967 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 08:34:57 +00:00
sebastien 4e9b23363a Reorganized the way we deal with functions which exist under only some versions of MATLAB and/or some versions of Octave:
* Created a directory matlab/missing to store them under subdirectories
* Add the needed subdirectories to the path from dynare_config.m
* Moved content of matlab/matlab/ and matlab/octave/ to matlab/missing/*/
* matlab/missing/ordeig/ordeig.m: new name of matlab/my_ordeig
* matlab/missing/ordschur/ordschur.m: fake replacement, displays an error message
* Removed old matlab/matlab/ and matlab/octave/ directories


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2805 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-03 10:20:42 +00:00