Code covered by the BSD License  

Highlights from
deal2 - Multiple assignment

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 2.18 KB File ID: #32547

deal2 - Multiple assignment

by Miroslav Balda

 

16 Aug 2011 (Updated 30 Dec 2011)

The function deal2 is an extension of the function deal.

| Watch this File

File Information
Description

The function deal2 is designated for multiple assignment. It is an extension of the function deal. The main differences between both functions are:
   - deal2 need not have equal number of input and output arguments,
   - deal2 makes all output arguments empty for missing input arguments,
   - deal2 transfers at most nargout arguments from input arguments,
   - deal2 may split input arguments into elements and tranfer them to output arguments.
   - deal2 may decompose matrices into columns and store them in output arguments

All superfluous output arguments are made empty, and all superfluous input arguments are not transfered.

MATLAB release MATLAB 7.3 (R2006b)
Other requirements Please, inform me on possible bugs or improvements by an e-mail.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
30 Dec 2011

Complemented decomposition of matrices into colums and storing them in output variables.

Tag Activity for this File
Tag Applied By Date/Time
multiple assignment Miroslav Balda 17 Aug 2011 09:34:37

Contact us at files@mathworks.com