Reproduce Matrix Rows
Version 1.0.0.0 (308 Bytes) by
Tom Baker
REPROWS Make new matrix, duplicating all rows N times.
965 Downloads
Updated
30 Apr 2004
No License
REPROWS Make new matrix, duplicating all rows N times.
Example:
A is
a b
c d
reprows( A, 3 ) is
a b
a b
a b
c d
c d
c d
Cite As
Tom Baker (2024). Reproduce Matrix Rows (https://www.mathworks.com/matlabcentral/fileexchange/4815-reproduce-matrix-rows), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Combine the Rows of 2 Matrices
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |