EX: A = [ 2 2 2; 2 2 2 ]; B = [ 2 2 2; 2 2 2 ]; L = 2;
C = [ num2str(A) separator(L) num2str(B) ]
The result is:
C =
2 2 2 | 2 2 2
2 2 2 | 2 2 2
Cite As
Walid KESSAL (2026). separator(L) (https://uk.mathworks.com/matlabcentral/fileexchange/66983-separator-l), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
