matrix2m

版本 1.0.0 (1.7 KB) 作者: Jordi Palacin
Returns a matrix as a displayed text. Designed to copy/add a raw matrix in an m file.
0.0 次下载
更新时间 2024/7/12

查看许可证

MATRIX2M(A, digits) returns the matrix A as a displayed text.
Designed to copy/add a raw matrix in an m file.
The matrix A can have one, two or three dimensions
Usage example:
>>A = rand(1,4);
>>matrix2m(A); % returns the text description of A, as follows
Copy the following text into your m file:
A = [0.2583 0.4094 0.5951 0.2626];

引用格式

Jordi Palacin (2024). matrix2m (https://www.mathworks.com/matlabcentral/fileexchange/169573-matrix2m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2024a
与 R2015b 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0