Hi All, I wrote an m-file using FINDPEAKS in r2010a but the file doesn't run in r2011a. After a little trial and error, it seems that the output format (rows and columns) has been reversed half of the time. There are two ways the input data can be formatted: one row and many columns (row vector) or many rows and one column (column vector). In r2010a, either way provides a row vector output. In r2011a, the output data format is the same as the input.
In other words:
r2010a - Row in, row out. Column in, row out.
r2011a - Row in, row out. Column in, column out.
For me, it's a simple fix with careful use of the TRANSPOSE function, but it is a bit annoying. The example in the help documentation only covers row vectors and the subtle change isn't mentioned there. Has anyone else experienced similar problems with FINDPEAKS or other functions? Is this common between releases? Thanks.