MATLAB R2012a saw a small update to the Variable Editor. This update allows you to sort a matrix by column. This supports a workflow where the variable editor appears like spreadsheet. You can also transpose the variable right inside the Variable Editor. Previously you would have to do this from the command line with the '-operator.
To transpose or sort variables, use the right-click menu options in the Variable Editor. You can sort variables based on single or multiple column selections. The columns you select can be non-contiguous and should always include all the rows. Also, you can create variables from non-contiguous data selections.
See the New Variable Editor Features in Release 2012a video for an in-depth overview.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.