From: us on 27 Feb 2010 08:44 Walter Roberson <roberson(a)hushmail.com> wrote in message <hm8ub6$m68$1(a)canopus.cc.umanitoba.ca>... > Øyvind wrote: > > So is noone interested in the new release, or is it that one has to sign > > a non-disclosure agreement before downloading it? I mean, not a single > > soul is even willing to _speculate_ what's coming? > > The syntax of 'for' has been enhanced so that if it is followed by a > sequence of non-blank characters that includes the * or ? characters, or > by a quoted sequence of characters that includes the * or ? characters > (and may include blank), then the sequence of characters is treated as a > filename pattern that is to be globbed and the loop iterated over each > resulting file name. For example, > > for fid = 'C:\Documents and Settings\Roberson\Matlab 2010a\datadir\*.wav' > > would expand the pattern and assign each name in turn to fid. > > The functionality of save has been enhanced such that if the first > string passed to save has the format of a valid variable name, and that > variable name exists in the routine that called save, then instead of > the string being used literally, the value of the variable will be > retrieved and used as the filename. This enhancement will support the > often-requested sequence, e.g., > > filename = 'Eig_results.mat'; > > save filename X > > > There will be a new optional parameter to cell(), zeros(), ones(), > char(), single(), double(), logical(), the int*() and uint*() and > typecast routines and various other routines such as diag(); the > optional parameter will be named 'index0', and it will cause the > resulting array to be indexed starting from 0 rather than from 1. In the > rare situation where the number of indices provided is exactly enough > that logical indexing might be inferred, logical indexing of such arrays > will only be used if the provided indices are of type logical (or a > subclass of logical); for arrays without the index0 attribute, logical > indexing will continue to be performed if all of the indices have > _value_ 0 or 1, no matter what type. > > > There will be a new set of parameters to system_dependent with names > beginning with 'dwim' (Do What I Mean). As per usual, the effects of > these parameters will be undocumented. and - yes - wr forgot to mention the arrival of a new set of functions... help goto; % <- and look at its many siblings... us
From: Matt Fig on 27 Feb 2010 08:58 Two of my new favorites, which I am sure will help slow some of the traffic on cssm: >>help domyhomework DOMYHOMEWORK Automatic assignment completion. FNAME = DOMYHOMEWORK(DESCRIPTION,DESIREDGRADE) writes to an M-File, FNAME, the correct solution to the homework assignment given by the text of DESCRIPTION. The optional input, DESIREDGRADE, will take into account the desired level of MATLAB competence. These are to be capital letters chose from 'A','B','C',D','F'. If 'A' is chose, the code within the M-File will be fully documented, with help and an H1 line, with input and error checking, and vectorized where appropriate for optimum efficiency. If 'D' is chosen, there will be no comments, no help, and nearly every line will use a call to EVAL. Also the code may be buggy. See also DOMYSENIORPROJECT, DOMYGRADUATETHESIS
From: Jan Simon on 27 Feb 2010 09:13 Dear Matt! > Two of my new favorites, which I am sure will help slow some of the traffic on cssm: > >>help domyhomework And "goto" ?! You guys are making jokes and I took Walter almost for serious?! I should stop posting on weekends and reading posts about future Matlab releases, before I get nightmares. Jan
From: Oleg Komarov on 27 Feb 2010 12:18 "Jan Simon" > Dear Matt! > > > Two of my new favorites, which I am sure will help slow some of the traffic on cssm: > > >>help domyhomework > > And "goto" ?! You guys are making jokes and I took Walter almost for serious?! > I should stop posting on weekends and reading posts about future Matlab releases, before I get nightmares. > > Jan Almost?!! Do you define a full-page answer, links and examples included, as ALMOST????? BTW, I'm a bit disappointed that in the SEE ALSO line of DOMYHOMEWORK there's no mention of the most awesome function: ifYouSeekAyou. Oleg
From: Jan Simon on 27 Feb 2010 16:07
Dear Oleg! > > And "goto" ?! You guys are making jokes and I took Walter almost for serious?! > > Almost?!! Do you define a full-page answer, links and examples included, as ALMOST????? While GOTO is obviously funny, I believe that TMW is able to implement Index0 and a do-what-you-think-that-I-mean-SAVE. Anyhow, system_dependent('dwim') ?! This is working since 2008a, so what? Silly me, Jan |