How do I add an additional matrix to be a variable in multpile matfiles?
Ältere Kommentare anzeigen
Hello! I have some matfiles to analysis and I have to add a new matrix to be a variable in one file. Like the below images show, I have to add an additional matrix 'lab' to the '0631312_s1.mat' (the second image), make it same like '0631312_1.mat' (the first image) and the matrix is a 512x512 null-matrix, like the third image.



I know we can use function zeros(n) to build a n x n null matrix, but what should I do to assign an additional matrix to be a variable in multiple matfiles automatically? Please suggest and thank you for helping me!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!