deal2 - Multiple assignment

The function deal2 is an extension of the function deal.


Updated 30 Dec 2011

View License

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.

Cite As

Miroslav Balda (2023). deal2 - Multiple assignment (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Dynamic System Models in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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