Mercurial > octave-nkf
comparison scripts/help/__unimplemented__.m @ 17511:2298f8c7c615
Recognize missing functions from some Matlab toolboxes.
* __unimplemented__.m: list functions from Matlab's control system,
communication, finance, image processing, signal processing, statistics,
and optimization toolboxes, to give an error message about the
corresponding Octave Forge package. In addition, recognize if the package
is unloaded and tell user to load it.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sat, 28 Sep 2013 19:05:00 +0100 |
parents | 87a4abf72726 |
children | 6c62150b454a |
comparison
equal
deleted
inserted
replaced
17510:7542f4496974 | 17511:2298f8c7c615 |
---|---|
99 txt = ["Functions for spreadsheet style I/O ", ... | 99 txt = ["Functions for spreadsheet style I/O ", ... |
100 "(.xls .xlsx .sxc .ods .dbf .wk1 etc.) " , ... | 100 "(.xls .xlsx .sxc .ods .dbf .wk1 etc.) " , ... |
101 "are provided in the io package. ", ... | 101 "are provided in the io package. ", ... |
102 "See @url{http://octave.sf.net/io/}."]; | 102 "See @url{http://octave.sf.net/io/}."]; |
103 | 103 |
104 ## control system | |
105 case {"absorbDelay", "allmargin", "append", "augstate", "balreal", ... | |
106 "balred", "balredOptions", "bandwidth", "bdschur", "bode", ... | |
107 "bodemag", "bodeoptions", "bodeplot", "c2d", "c2dOptions", ... | |
108 "canon", "care", "chgFreqUnit", "chgTimeUnit", "connect", ... | |
109 "connectOptions", "covar", "ctrb", "ctrbf", "ctrlpref", "d2c", ... | |
110 "d2cOptions", "d2d", "d2dOptions", "damp", "dare", "db2mag", ... | |
111 "dcgain", "delay2z", "delayss", "dlqr", "dlyap", "dlyapchol", ... | |
112 "drss", "dsort", "dss", "dssdata", "esort", "estim", "evalfr", ... | |
113 "feedback", "filt", "frd", "frdata", "freqresp", "gcare", "gdare", ... | |
114 "genfrd", "genmat", "gensig", "genss", "get", "getBlockValue", ... | |
115 "getDelayModel", "getGainCrossover", "getIOTransfer", ... | |
116 "getLFTModel", "getLoopTransfer", "getNominal", "getoptions", ... | |
117 "getPeakGain", "getSwitches", "getValue", "gram", "hasdelay", ... | |
118 "hasInternalDelay", "hsvd", "hsvdOptions", "hsvoptions", ... | |
119 "hsvplot", "imp2exp", "impulse", "impulseplot", "initial", ... | |
120 "initialplot", "iopzmap", "iopzplot", "isct", "isdt", "isempty", ... | |
121 "isfinite", "isParametric", "isproper", "isreal", "issiso", ... | |
122 "isstable", "isstatic", "kalman", "kalmd", "lft", "loopswitch", ... | |
123 "lqg", "lqgreg", "lqgtrack", "lqi", "lqr", "lqrd", "lqry", "lsim", ... | |
124 "lsiminfo", "lsimplot", "ltiview", "lyap", "lyapchol", "mag2db", ... | |
125 "margin", "minreal", "modred", "modsep", "nblocks", "ndims", ... | |
126 "ngrid", "nichols", "nicholsoptions", "nicholsplot", "nmodels", ... | |
127 "norm", "nyquist", "nyquistoptions", "nyquistplot", "obsv", ... | |
128 "obsvf", "order", "pade", "parallel", "permute", "pid", "piddata", ... | |
129 "pidstd", "pidstddata", "pidtool", "pidtune", "pidtuneOptions", ... | |
130 "place", "pole", "prescale", "pzmap", "pzoptions", "pzplot", ... | |
131 "realp", "reg", "replaceBlock", "repsys", "reshape", "rlocus", ... | |
132 "rlocusplot", "rss", "series", "set", "setBlockValue", ... | |
133 "setDelayModel", "setoptions", "setValue", "sgrid", ... | |
134 "showBlockValue", "showTunable", "sigma", "sigmaoptions", ... | |
135 "sigmaplot", "sisoinit", "sisotool", "size", "sminreal", "ss", ... | |
136 "ss2ss", "ssdata", "stabsep", "stabsepOptions", "stack", "step", ... | |
137 "stepDataOptions", "stepinfo", "stepplot", "sumblk", "tf", ... | |
138 "tfdata", "thiran", "timeoptions", "totaldelay", "tzero", ... | |
139 "updateSystem", "upsample", "xperm", "zero", "zgrid", "zpk", ... | |
140 "zpkdata"} | |
141 txt = check_package (fcn, "control"); | |
142 | |
143 ## communications | |
144 case {"algdeintrlv", "algintrlv", "alignsignals", "amdemod", "ammod", ... | |
145 "arithdeco", "arithenco", "awgn", "bchdec", "bchenc", ... | |
146 "bchgenpoly", "bchnumerr", "berawgn", "bercoding", "berconfint", ... | |
147 "berfading", "berfit", "bersync", "bertool", "bi2de", "bin2gray", ... | |
148 "biterr", "bsc", "cma", "commscope", "compand", "convdeintrlv", ... | |
149 "convenc", "convintrlv", "convmtx", "cosets", "cyclgen", ... | |
150 "cyclpoly", "de2bi", "decode", "deintrlv", "dfe", "dftmtx", ... | |
151 "distspec", "doppler", "dpcmdeco", "dpcmenco", "dpcmopt", ... | |
152 "dpskdemod", "dpskmod", "dvbs2ldpc", "encode", "equalize", ... | |
153 "eyediagram", "EyeScope", "finddelay", "fmdemod", "fmmod", ... | |
154 "fskdemod", "fskmod", "gaussdesign", "gen2par", "genqamdemod", ... | |
155 "genqammod", "gf", "gfadd", "gfconv", "gfcosets", "gfdeconv", ... | |
156 "gfdiv", "gffilter", "gflineq", "gfminpol", "gfmul", "gfpretty", ... | |
157 "gfprimck", "gfprimdf", "gfprimfd", "gfrank", "gfrepcov", ... | |
158 "gfroots", "gfsub", "gftable", "gftrunc", "gftuple", "gfweight", ... | |
159 "gray2bin", "hammgen", "heldeintrlv", "helintrlv", ... | |
160 "helscandeintrlv", "helscanintrlv", "huffmandeco", "huffmandict", ... | |
161 "huffmanenco", "intdump", "intrlv", "iscatastrophic", ... | |
162 "isprimitive", "istrellis", "legacychannelsim", "lineareq", ... | |
163 "lloyds", "lms", "log", "lteZadoffChuSeq", "marcumq", ... | |
164 "mask2shift", "matdeintrlv", "matintrlv", "minpol", "mldivide", ... | |
165 "mlseeq", "modnorm", "muxdeintrlv", "muxintrlv", "noisebw", ... | |
166 "normlms", "oct2dec", "oqpskdemod", "oqpskmod", "pamdemod", ... | |
167 "pammod", "pmdemod", "pmmod", "poly2trellis", "primpoly", ... | |
168 "pskdemod", "pskmod", "qamdemod", "qammod", "qfunc", "qfuncinv", ... | |
169 "quantiz", "randdeintrlv", "randerr", "randintrlv", "randsrc", ... | |
170 "rayleighchan", "rcosdesign", "rectpulse", "reset", "ricianchan", ... | |
171 "rls", "rsdec", "rsenc", "rsgenpoly", "rsgenpolycoeffs", ... | |
172 "scatterplot", "sdrexamples", "sdrfgensysace", "sdrfroot", ... | |
173 "sdrinfo", "sdrload", "sdrsetup", "semianalytic", "shift2mask", ... | |
174 "signlms", "ssbdemod", "ssbmod", "stdchan", ... | |
175 "supportPackageInstaller", "symerr", "syndtable", "varlms", ... | |
176 "vec2mat", "vitdec", "wgn"} | |
177 txt = check_package (fcn, "comm"); | |
178 | |
179 ## finance | |
180 case {"abs2active", "accrfrac", "acrubond", "acrudisc", "active2abs", ... | |
181 "addEquality", "addEquality", "addEquality", "addGroupRatio", ... | |
182 "addGroupRatio", "addGroupRatio", "addGroups", "addGroups", ... | |
183 "addGroups", "addInequality", "addInequality", "addInequality", ... | |
184 "adline", "adosc", "amortize", "annurate", "annuterm", ... | |
185 "arith2geom", "ascii2fts", "beytbill", "binprice", "blkimpv", ... | |
186 "blkprice", "blsdelta", "blsgamma", "blsimpv", "blslambda", ... | |
187 "blsprice", "blsrho", "blstheta", "blsvega", "bndconvp", ... | |
188 "bndconvy", "bnddurp", "bnddury", "bndkrdur", "bndprice", ... | |
189 "bndspread", "bndtotalreturn", "bndyield", "bolling", "bollinger", ... | |
190 "boxcox", "busdate", "busdays", "candle", "cdai", "cdprice", ... | |
191 "cdyield", "cfamounts", "cfbyzero", "cfconv", "cfdates", "cfdur", ... | |
192 "cfplot", "cfport", "cfprice", "cfspread", "cftimes", "cfyield", ... | |
193 "chaikosc", "chaikvolat", "chartfts", "checkFeasibility", ... | |
194 "checkFeasibility", "checkFeasibility", "chfield", "convert2sur", ... | |
195 "convertto", "corr2cov", "cov2corr", "cpncount", "cpndaten", ... | |
196 "cpndatenq", "cpndatep", "cpndaysp", "cpnpersz", "createholidays", ... | |
197 "cumsum", "cur2frac", "cur2str", "date2time", "dateaxis", ... | |
198 "datedisp", "datefind", "datemnth", "datewrkdy", "day", "days360", ... | |
199 "days360e", "days360isda", "days360psa", "days365", "daysact", ... | |
200 "daysadd", "daysdif", "dec2thirtytwo", "depfixdb", "depgendb", ... | |
201 "deprdv", "depsoyd", "depstln", "diff", "disc2zero", "discrate", ... | |
202 "ecmmvnrfish", "ecmmvnrmle", "ecmmvnrobj", "ecmmvnrstd", ... | |
203 "ecmnfish", "ecmnhess", "ecmninit", "ecmnmle", "ecmnobj", ... | |
204 "ecmnstd", "effrr", "elpm", "emaxdrawdown", "end", "eomdate", ... | |
205 "estimateAssetMoments", "estimateBounds", "estimateBounds", ... | |
206 "estimateBounds", "estimateFrontier", "estimateFrontier", ... | |
207 "estimateFrontier", "estimateFrontierByReturn", ... | |
208 "estimateFrontierByReturn", "estimateFrontierByReturn", ... | |
209 "estimateFrontierByRisk", "estimateFrontierByRisk", ... | |
210 "estimateFrontierByRisk", "estimateFrontierLimits", ... | |
211 "estimateFrontierLimits", "estimateFrontierLimits", ... | |
212 "estimateMaxSharpeRatio", "estimatePortMoments", ... | |
213 "estimatePortReturn", "estimatePortReturn", "estimatePortReturn", ... | |
214 "estimatePortRisk", "estimatePortRisk", "estimatePortRisk", ... | |
215 "estimatePortStd", "estimatePortStd", "estimatePortVaR", ... | |
216 "estimateScenarioMoments", "estimateScenarioMoments", "ewstats", ... | |
217 "exp", "extfield", "fbusdate", "fetch", "fieldnames", "fillts", ... | |
218 "fints", "floatdiscmargin", "floatmargin", "fpctkd", "frac2cur", ... | |
219 "freqnum", "freqstr", "frontcon", "frontier", "fts2ascii", ... | |
220 "fts2mat", "ftsbound", "ftsgui", "ftsinfo", "ftstool", "ftsuniq", ... | |
221 "fvdisc", "fvfix", "fvvar", "fwd2zero", "geom2arith", ... | |
222 "getAssetMoments", "getBounds", "getBounds", "getBounds", ... | |
223 "getBudget", "getBudget", "getBudget", "getCosts", "getCosts", ... | |
224 "getCosts", "getEquality", "getEquality", "getEquality", ... | |
225 "getGroupRatio", "getGroupRatio", "getGroupRatio", "getGroups", ... | |
226 "getGroups", "getGroups", "getInequality", "getInequality", ... | |
227 "getInequality", "getnameidx", "getOneWayTurnover", ... | |
228 "getOneWayTurnover", "getOneWayTurnover", "getScenarios", ... | |
229 "getScenarios", "hhigh", "highlow", "holdings2weights", ... | |
230 "holidays", "horzcat", "hour", "inforatio", "irr", "isbusday", ... | |
231 "iscompatible", "isempty", "isfield", "issorted", "kagi", "lagts", ... | |
232 "lbusdate", "leadts", "length", "linebreak", "llow", "log", ... | |
233 "log10", "log2", "lpm", "lweekdate", "m2xdate", "macd", ... | |
234 "maxdrawdown", "medprice", "merge", "minus", "minute", "mirr", ... | |
235 "month", "months", "movavg", "mrdivide", "mtimes", "mvnrfish", ... | |
236 "mvnrmle", "mvnrobj", "mvnrstd", "nancov", "nanmax", "nanmean", ... | |
237 "nanmedian", "nanmin", "nanstd", "nansum", "nanvar", "negvolidx", ... | |
238 "nomrr", "nweekdate", "nyseclosures", "onbalvol", "opprofit", ... | |
239 "payadv", "payodd", "payper", "payuni", "pcalims", "pcgcomp", ... | |
240 "pcglims", "pcpval", "peravg", "periodicreturns", "plotFrontier", ... | |
241 "plotFrontier", "plotFrontier", "plus", "pointfig", "portalloc", ... | |
242 "portalpha", "portcons", "Portfolio", "PortfolioCVaR", ... | |
243 "PortfolioMAD", "portopt", "portrand", "portror", "portsim", ... | |
244 "portstats", "portvar", "portvrisk", "posvolidx", "power", ... | |
245 "prbyzero", "prcroc", "prdisc", "priceandvol", "prmat", "prtbill", ... | |
246 "pvfix", "pvtrend", "pvvar", "pyld2zero", "rdivide", "renko", ... | |
247 "resamplets", "ret2tick", "rmfield", "rsindex", "selectreturn", ... | |
248 "setAssetList", "setAssetList", "setAssetList", "setAssetMoments", ... | |
249 "setBounds", "setBounds", "setBounds", "setBudget", "setBudget", ... | |
250 "setBudget", "setCosts", "setCosts", "setCosts", ... | |
251 "setDefaultConstraints", "setDefaultConstraints", ... | |
252 "setDefaultConstraints", "setEquality", "setEquality", ... | |
253 "setEquality", "setGroupRatio", "setGroupRatio", "setGroupRatio", ... | |
254 "setGroups", "setGroups", "setGroups", "setInequality", ... | |
255 "setInequality", "setInequality", "setInitPort", "setInitPort", ... | |
256 "setInitPort", "setOneWayTurnover", "setOneWayTurnover", ... | |
257 "setOneWayTurnover", "setProbabilityLevel", "setScenarios", ... | |
258 "setScenarios", "setSolver", "setSolver", "setSolver", ... | |
259 "setTurnover", "setTurnover", "setTurnover", "sharpe", ... | |
260 "simulateNormalScenariosByData", "simulateNormalScenariosByData", ... | |
261 "simulateNormalScenariosByMoments", ... | |
262 "simulateNormalScenariosByMoments", "size", "smoothts", "sortfts", ... | |
263 "spctkd", "stochosc", "subsasgn", "subsref", "targetreturn", ... | |
264 "taxedrr", "tbilldisc2yield", "tbillprice", "tbillrepo", ... | |
265 "tbillval01", "tbillyield", "tbillyield2disc", "tbl2bond", ... | |
266 "thirdwednesday", "thirtytwo2dec", "tick2ret", "time2date", ... | |
267 "times", "toannual", "todaily", "today", "todecimal", "tomonthly", ... | |
268 "toquarterly", "toquoted", "tosemi", "totalreturnprice", ... | |
269 "toweekly", "tr2bonds", "transprob", "transprobbytotals", ... | |
270 "transprobfromthresholds", "transprobgrouptotals", ... | |
271 "transprobprep", "transprobtothresholds", "tsaccel", "tsmom", ... | |
272 "tsmovavg", "typprice", "ugarch", "ugarchllf", "ugarchpred", ... | |
273 "ugarchsim", "uicalendar", "uminus", "uplus", "vertcat", ... | |
274 "volarea", "volroc", "wclose", "weeknum", "weights2holdings", ... | |
275 "willad", "willpctr", "wrkdydif", "x2mdate", "xirr", "year", ... | |
276 "yeardays", "yearfrac", "ylddisc", "yldmat", "yldtbill", ... | |
277 "zbtprice", "zbtyield", "zero2disc", "zero2fwd", "zero2pyld"} | |
278 txt = check_package (fcn, "financial"); | |
279 | |
280 ## image processing | |
281 case {"activecontour", "adapthisteq", "affine2d", "affine3d", ... | |
282 "analyze75info", "analyze75read", "applycform", "applylut", ... | |
283 "axes2pix", "bestblk", "blockproc", "bwarea", "bwareaopen", ... | |
284 "bwboundaries", "bwconncomp", "bwconvhull", "bwdist", ... | |
285 "bwdistgeodesic", "bweuler", "bwhitmiss", "bwlabel", "bwlabeln", ... | |
286 "bwlookup", "bwmorph", "bwpack", "bwperim", "bwselect", ... | |
287 "bwtraceboundary", "bwulterode", "bwunpack", "checkerboard", ... | |
288 "col2im", "colfilt", "conndef", "convmtx2", "corner", ... | |
289 "cornermetric", "corr2", "cp2tform", "cpcorr", "cpselect", ... | |
290 "cpstruct2pairs", "dct2", "dctmtx", "deconvblind", "deconvlucy", ... | |
291 "deconvreg", "deconvwnr", "decorrstretch", "demosaic", ... | |
292 "dicomanon", "dicomdict", "dicominfo", "dicomlookup", "dicomread", ... | |
293 "dicomuid", "dicomwrite", "edge", "edgetaper", "entropy", ... | |
294 "entropyfilt", "fan2para", "fanbeam", "findbounds", "fitgeotrans", ... | |
295 "fliptform", "freqz2", "fsamp2", "fspecial", "ftrans2", "fwind1", ... | |
296 "fwind2", "getheight", "getimage", "getimagemodel", "getline", ... | |
297 "getneighbors", "getnhood", "getpts", "getrect", "getsequence", ... | |
298 "graycomatrix", "graycoprops", "graydist", "grayslice", ... | |
299 "graythresh", "hdrread", "hdrwrite", "histeq", "hough", ... | |
300 "houghlines", "houghpeaks", "iccfind", "iccread", "iccroot", ... | |
301 "iccwrite", "idct2", "ifanbeam", "im2bw", "im2col", "im2double", ... | |
302 "im2int16", "im2java2d", "im2single", "im2uint16", "im2uint8", ... | |
303 "imabsdiff", "imadd", "imadjust", "ImageAdapter", "imageinfo", ... | |
304 "imapplymatrix", "imapprox", "imattributes", "imbothat", ... | |
305 "imclearborder", "imclose", "imcolormaptool", "imcomplement", ... | |
306 "imcontour", "imcontrast", "imcrop", "imdilate", "imdisplayrange", ... | |
307 "imdistline", "imdivide", "imellipse", "imerode", "imextendedmax", ... | |
308 "imextendedmin", "imfill", "imfilter", "imfindcircles", ... | |
309 "imfreehand", "imfuse", "imgca", "imgcf", "imgetfile", ... | |
310 "imgradient", "imgradientxy", "imhandles", "imhist", ... | |
311 "imhistmatch", "imhmax", "imhmin", "imimposemin", "imlincomb", ... | |
312 "imline", "immagbox", "immovie", "immultiply", "imnoise", ... | |
313 "imopen", "imoverview", "imoverviewpanel", "impixel", ... | |
314 "impixelinfo", "impixelinfoval", "impixelregion", ... | |
315 "impixelregionpanel", "implay", "impoint", "impoly", "improfile", ... | |
316 "impyramid", "imquantize", "imreconstruct", "imrect", "imref2d", ... | |
317 "imref3d", "imregconfig", "imregionalmax", "imregionalmin", ... | |
318 "imregister", "imregtform", "imresize", "imroi", "imrotate", ... | |
319 "imsave", "imscrollpanel", "imsharpen", "imshowpair", ... | |
320 "imsubtract", "imtool", "imtophat", "imtransform", "imwarp", ... | |
321 "interfileinfo", "interfileread", "intlut", "iptaddcallback", ... | |
322 "iptcheckconn", "iptcheckhandle", "iptgetapi", ... | |
323 "iptGetPointerBehavior", "iptgetpref", "ipticondir", ... | |
324 "iptPointerManager", "iptprefs", "iptremovecallback", ... | |
325 "iptSetPointerBehavior", "iptsetpref", "iptwindowalign", "iradon", ... | |
326 "isflat", "isicc", "isrset", "lab2double", "lab2uint16", ... | |
327 "lab2uint8", "label2rgb", "labelmatrix", "makecform", ... | |
328 "makeConstrainToRectFcn", "makehdr", "makelut", "makeresampler", ... | |
329 "maketform", "mat2gray", "mean2", "medfilt2", "montage", ... | |
330 "multithresh", "nitfinfo", "nitfread", "nlfilter", "normxcorr2", ... | |
331 "openrset", "ordfilt2", "otf2psf", "padarray", "para2fan", ... | |
332 "phantom", "poly2mask", "projective2d", "psf2otf", "qtdecomp", ... | |
333 "qtgetblk", "qtsetblk", "radon", "rangefilt", "reflect", ... | |
334 "regionprops", "rgb2gray", "rgb2ycbcr", "roicolor", "roifill", ... | |
335 "roifilt2", "roipoly", "rsetwrite", "std2", "stdfilt", "strel", ... | |
336 "stretchlim", "subimage", "tformarray", "tformfwd", "tforminv", ... | |
337 "tonemap", "translate", "truesize", "viscircles", "warp", ... | |
338 "watershed", "whitepoint", "wiener2", "xyz2double", "xyz2uint16", ... | |
339 "ycbcr2rgb"} | |
340 txt = check_package (fcn, "image"); | |
341 | |
342 ## signal processing | |
343 case {"ac2poly", "ac2rc", "angle", "arburg", "arcov", "armcov", ... | |
344 "aryule", "bandpower", "barthannwin", "besselap", "besself", ... | |
345 "bilinear", "bitrevorder", "blackmanharris", "bohmanwin", ... | |
346 "buffer", "buttap", "butter", "buttord", "cceps", "cconv", ... | |
347 "cell2sos", "cfirpm", "cheb1ap", "cheb1ord", "cheb2ap", ... | |
348 "cheb2ord", "chebwin", "cheby1", "cheby2", "chirp", "convmtx", ... | |
349 "corrmtx", "cpsd", "czt", "db", "db2mag", "db2pow", "dct", ... | |
350 "decimate", "demod", "design", "designmethods", "designopts", ... | |
351 "dfilt", "dftmtx", "digitrevorder", "diric", "downsample", "dpss", ... | |
352 "dpssclear", "dpssdir", "dpssload", "dspdata", "dspfwiz", ... | |
353 "dutycycle", "ellip", "ellipap", "ellipord", "enbw", "equiripple", ... | |
354 "falltime", "fdatool", "fdesign", "filt2block", "filterbuilder", ... | |
355 "filternorm", "filtfilt", "filtic", "filtord", "findpeaks", ... | |
356 "fir1", "fir2", "fircls", "fircls1", "firls", "firpm", "firpmord", ... | |
357 "firrcos", "firtype", "flattopwin", "freqs", "freqsamp", "fvtool", ... | |
358 "fwht", "gauspuls", "gaussdesign", "gaussfir", "gausswin", ... | |
359 "gmonopuls", "goertzel", "grpdelay", "hann", "hilbert", "icceps", ... | |
360 "idct", "ifwht", "impinvar", "impz", "impzlength", "interp", ... | |
361 "intfilt", "invfreqs", "invfreqz", "is2rc", "isallpass", ... | |
362 "islinphase", "ismaxphase", "isminphase", "isstable", "kaiser", ... | |
363 "kaiserord", "kaiserwin", "lar2rc", "latc2tf", "latcfilt", ... | |
364 "levinson", "lp2bp", "lp2bs", "lp2hp", "lp2lp", "lpc", "lsf2poly", ... | |
365 "mag2db", "marcumq", "maxflat", "medfilt1", "midcross", ... | |
366 "modulate", "mscohere", "nuttallwin", "overshoot", "parzenwin", ... | |
367 "pburg", "pcov", "peak2peak", "peak2rms", "peig", "phasedelay", ... | |
368 "phasez", "pmcov", "pmtm", "pmusic", "poly2ac", "poly2lsf", ... | |
369 "poly2rc", "polyscale", "polystab", "pow2db", "prony", ... | |
370 "pulseperiod", "pulsesep", "pulsewidth", "pulstran", "pwelch", ... | |
371 "pyulear", "rc2ac", "rc2is", "rc2lar", "rc2poly", "rceps", ... | |
372 "rcosdesign", "realizemdl", "rectpuls", "rectwin", "resample", ... | |
373 "residuez", "risetime", "rlevinson", "rms", "rooteig", ... | |
374 "rootmusic", "rssq", "sawtooth", "schurrc", "seqperiod", ... | |
375 "setspecs", "settlingtime", "sfdr", "sgolay", "sgolayfilt", ... | |
376 "shiftdata", "sigwin", "sinad", "slewrate", "snr", "sos2cell", ... | |
377 "sos2ss", "sos2tf", "sos2zp", "sosfilt", "spectrogram", ... | |
378 "spectrum", "sptool", "square", "ss2sos", "ss2tf", "ss2zp", ... | |
379 "statelevels", "stepz", "stmcb", "strips", "taylorwin", "tf2latc", ... | |
380 "tf2sos", "tf2ss", "tf2zp", "tf2zpk", "tfestimate", "thd", "toi", ... | |
381 "triang", "tripuls", "tukeywin", "udecode", "uencode", ... | |
382 "undershoot", "unshiftdata", "upfirdn", "upsample", ... | |
383 "validstructures", "vco", "window", "wintool", "wvtool", "xcorr", ... | |
384 "xcorr2", "xcov", "yulewalk", "zerophase", "zp2sos", "zp2ss", ... | |
385 "zp2tf", "zplane"} | |
386 txt = check_package (fcn, "signal"); | |
387 | |
388 ## statistics | |
389 case {"addedvarplot", "addlevels", "addTerms", "addTerms", "adtest", ... | |
390 "andrewsplot", "anova1", "anova2", "anovan", "ansaribradley", ... | |
391 "aoctool", "barttest", "bbdesign", "betafit", "betalike", ... | |
392 "betastat", "binofit", "binostat", "biplot", "bootci", "bootstrp", ... | |
393 "boxplot", "candexch", "candgen", "canoncorr", "capability", ... | |
394 "capaplot", "caseread", "casewrite", "ccdesign", "cdf", "cdf", ... | |
395 "cdfplot", "cell2dataset", "chi2gof", "chi2stat", "cholcov", ... | |
396 "ClassificationBaggedEnsemble", "ClassificationDiscriminant", ... | |
397 "ClassificationEnsemble", "ClassificationKNN", ... | |
398 "ClassificationPartitionedEnsemble", ... | |
399 "ClassificationPartitionedModel", "ClassificationTree", ... | |
400 "classify", "classregtree", "cluster", "clusterdata", "cmdscale", ... | |
401 "coefCI", "coefCI", "coefCI", "coefCI", "coefTest", "coefTest", ... | |
402 "coefTest", "coefTest", "combnk", "compact", ... | |
403 "CompactClassificationDiscriminant", ... | |
404 "CompactClassificationEnsemble", "CompactClassificationTree", ... | |
405 "CompactRegressionEnsemble", "CompactRegressionTree", ... | |
406 "CompactTreeBagger", "compare", "confusionmat", "controlchart", ... | |
407 "controlrules", "cophenet", "copulacdf", "copulafit", ... | |
408 "copulaparam", "copulapdf", "copularnd", "copulastat", "cordexch", ... | |
409 "corrcov", "covarianceParameters", "coxphfit", "createns", ... | |
410 "crosstab", "crossval", "cvpartition", "datasample", "dataset", ... | |
411 "dataset2cell", "dataset2struct", "dataset2table", "datasetfun", ... | |
412 "daugment", "dcovary", "dendrogram", "designMatrix", ... | |
413 "devianceTest", "dfittool", "disp", "disp", "disp", "disp", ... | |
414 "disttool", "droplevels", "dummyvar", "dwtest", "dwtest", "ecdf", ... | |
415 "ecdfhist", "evalclusters", "evcdf", "evfit", "evinv", "evlike", ... | |
416 "evpdf", "evrnd", "evstat", "ExhaustiveSearcher", "expfit", ... | |
417 "explike", "export", "expstat", "factoran", "feval", "feval", ... | |
418 "feval", "ff2n", "fitdist", "fitensemble", "fitglm", "fitlm", ... | |
419 "fitlme", "fitlmematrix", "fitnlm", "fitted", "fixedEffects", ... | |
420 "fracfact", "fracfactgen", "friedman", "fsurfht", "fullfact", ... | |
421 "gagerr", "gamfit", "gamlike", "gamstat", ... | |
422 "GeneralizedLinearModel", "geomean", "geostat", "getlabels", ... | |
423 "getlevels", "gevcdf", "gevfit", "gevinv", "gevlike", "gevpdf", ... | |
424 "gevrnd", "gevstat", "gline", "glmfit", "glmval", "glyphplot", ... | |
425 "gmdistribution", "gname", "gpcdf", "gpfit", "gpinv", "gplike", ... | |
426 "gplotmatrix", "gppdf", "gprnd", "gpstat", "grp2idx", "grpstats", ... | |
427 "gscatter", "haltonset", "harmmean", "hist3", "histfit", ... | |
428 "hmmdecode", "hmmestimate", "hmmgenerate", "hmmtrain", ... | |
429 "hmmviterbi", "hougen", "hygestat", "icdf", "icdf", ... | |
430 "inconsistent", "interactionplot", "invpred", "islevel", ... | |
431 "ismissing", "isundefined", "iwishrnd", "jackknife", "jbtest", ... | |
432 "johnsrnd", "join", "KDTreeSearcher", "kmeans", "knnsearch", ... | |
433 "kruskalwallis", "ksdensity", "kstest", "kstest2", "labels", ... | |
434 "lasso", "lassoglm", "lassoPlot", "levelcounts", "leverage", ... | |
435 "lhsdesign", "lhsnorm", "lillietest", "LinearMixedModel", ... | |
436 "LinearModel", "linhyptest", "linkage", "lognfit", "lognlike", ... | |
437 "lognstat", "lsline", "mad", "mahal", "maineffectsplot", ... | |
438 "makedist", "manova1", "manovacluster", "mat2dataset", "mdscale", ... | |
439 "mergelevels", "mhsample", "mle", "mlecov", "mnpdf", "mnrfit", ... | |
440 "mnrnd", "mnrval", "multcompare", "multivarichart", "mvncdf", ... | |
441 "mvnpdf", "mvnrnd", "mvregress", "mvregresslike", "mvtcdf", ... | |
442 "mvtpdf", "mvtrnd", "NaiveBayes", "nancov", "nanmax", "nanmean", ... | |
443 "nanmedian", "nanmin", "nanstd", "nansum", "nanvar", "nbinfit", ... | |
444 "nbinstat", "ncfcdf", "ncfinv", "ncfpdf", "ncfrnd", "ncfstat", ... | |
445 "nctcdf", "nctinv", "nctpdf", "nctrnd", "nctstat", "ncx2cdf", ... | |
446 "ncx2inv", "ncx2pdf", "ncx2rnd", "ncx2stat", "negloglik", ... | |
447 "negloglik", "nlinfit", "nlintool", "nlmefit", "nlmefitsa", ... | |
448 "nlparci", "nlpredci", "nnmf", "nominal", "NonLinearModel", ... | |
449 "normfit", "normlike", "normplot", "normspec", "normstat", ... | |
450 "optimalleaforder", "ordinal", "parallelcoords", "paramci", ... | |
451 "paretotails", "partialcorr", "partialcorri", "pca", "pcacov", ... | |
452 "pcares", "pdf", "pdf", "pdist", "pdist2", "pearsrnd", ... | |
453 "perfcurve", "plotAdded", "plotAdjustedResponse", ... | |
454 "plotDiagnostics", "plotDiagnostics", "plotDiagnostics", ... | |
455 "plotEffects", "plotInteraction", "plotResiduals", ... | |
456 "plotResiduals", "plotResiduals", "plotResiduals", "plotSlice", ... | |
457 "plotSlice", "plotSlice", "plsregress", "poissfit", "poisstat", ... | |
458 "polyconf", "polytool", "ppca", "predict", "predict", "predict", ... | |
459 "predict", "predict", "predict", "predict", "predict", "princomp", ... | |
460 "ProbDistUnivKernel", "ProbDistUnivParam", "probplot", ... | |
461 "procrustes", "proflik", "qrandset", "qrandstream", "random", ... | |
462 "random", "random", "random", "random", "random", "randomEffects", ... | |
463 "randsample", "randtool", "rangesearch", "ranksum", "raylcdf", ... | |
464 "raylfit", "raylinv", "raylpdf", "raylrnd", "raylstat", "rcoplot", ... | |
465 "refcurve", "refline", "regress", "RegressionBaggedEnsemble", ... | |
466 "RegressionEnsemble", "RegressionPartitionedEnsemble", ... | |
467 "RegressionPartitionedModel", "RegressionTree", "regstats", ... | |
468 "relieff", "removeTerms", "removeTerms", "residuals", "response", ... | |
469 "ridge", "robustdemo", "robustfit", "rotatefactors", "rowexch", ... | |
470 "rsmdemo", "rstool", "runstest", "sampsizepwr", "scatterhist", ... | |
471 "sequentialfs", "setlabels", "signrank", "signtest", "silhouette", ... | |
472 "slicesample", "sobolset", "squareform", "statget", "statset", ... | |
473 "step", "step", "stepwise", "stepwisefit", "stepwiseglm", ... | |
474 "stepwiselm", "struct2dataset", "surfht", "svmclassify", ... | |
475 "svmtrain", "table2dataset", "tabulate", "tblread", "tblwrite", ... | |
476 "tdfread", "tiedrank", "TreeBagger", "trimmean", "truncate", ... | |
477 "tstat", "ttest", "ttest2", "unidstat", "unifit", "unifstat", ... | |
478 "vartest", "vartest2", "vartestn", "wblfit", "wbllike", "wblplot", ... | |
479 "wblstat", "wishrnd", "x2fx", "xlsread", "xptread", "ztest"} | |
480 txt = check_package (fcn, "statistics"); | |
481 | |
482 ## optimization | |
483 case {"bintprog", "color", "fgoalattain", "fmincon", "fminimax", ... | |
484 "fminsearch", "fseminf", "fzmult", "gangstr", "ktrlink", ... | |
485 "linprog", "lsqcurvefit", "lsqlin", "lsqnonlin", "optimoptions", ... | |
486 "optimtool", "quadprog"} | |
487 txt = check_package (fcn, "optim"); | |
488 | |
104 otherwise | 489 otherwise |
105 if (ismember (fcn, missing_functions ())) | 490 if (ismember (fcn, missing_functions ())) |
106 txt = ["the '" fcn "' function is not yet implemented in Octave"]; | 491 txt = ["the '" fcn "' function is not yet implemented in Octave"]; |
107 else | 492 else |
108 is_matlab_function = false; | 493 is_matlab_function = false; |
119 | 504 |
120 if (nargout == 0) | 505 if (nargout == 0) |
121 warning ("Octave:missing-function", "%s", txt); | 506 warning ("Octave:missing-function", "%s", txt); |
122 endif | 507 endif |
123 | 508 |
509 endfunction | |
510 | |
511 function txt = check_package (fcn, name) | |
512 txt = sprintf ("the '%s' function belongs to the %s package from Octave Forge", | |
513 fcn, name); | |
514 | |
515 [~, status] = pkg ("describe", name); | |
516 switch (tolower (status{1})) | |
517 case "loaded", | |
518 txt = sprintf ("%s but has not yet been implemented.", txt); | |
519 case "not loaded", | |
520 txt = sprintf (["%s which you have installed but not loaded. To ", ... | |
521 "load the package, run `pkg load %s' from the ", ... | |
522 "Octave prompt."], txt, name); | |
523 otherwise | |
524 ## this includes "not installed" and anything else if pkg changes | |
525 ## the output of describe | |
526 txt = sprintf ("%s which seems to not be installed in your system.", txt); | |
527 endswitch | |
124 endfunction | 528 endfunction |
125 | 529 |
126 function list = missing_functions () | 530 function list = missing_functions () |
127 persistent list = { | 531 persistent list = { |
128 "MException", | 532 "MException", |