Beantwortet
Create txt file from each row of Matrix
The following code worked fine for me. A=D'; for i = 1:7500 fid = fopen([num2str(i),'.txt'],'w') ; fprintf(fid,'%f...

mehr als 3 Jahre vor | 0

| akzeptiert

Frage


Create txt file from each row of Matrix
I have a matrix D with size 3x7500. I want to generate separate text files with each row of matrix. How do I do this?

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Create Matrix from Multiple Matrices
I have got a better option since my matrix size is large and no. of matrices is also large. If my matrices are- A, B,C and so o...

mehr als 3 Jahre vor | 0

| akzeptiert

Frage


Create Matrix from Multiple Matrices
I have 3 matrices as follows- A = [1 2 3] B = [4 5 6] C = [7 8 9] I want to create a matrix D as follows- [1 4 7; 1 4 8; 1 ...

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten