Since 6/15/2012 5:32:11 PM, see.me.trot has written 4 articles and participated in 3 conversations. see.me.trot signature: see.me.trot
see.me.trot's articles:
Items(4) /1
fprintf is not reading the \n2829 (6/29/2012 6:41:18 PM) comp.soft-sys.matlab I need to have a matrix output to a file, I have it as a variable called 'First' and it's 7480x2, pretty big. The code I have been trying to use is:
fid=fopen('data_file.txt','w');
fprintf(fid,'%d','%d \n',... Ellen
How can you enlarge a matrix by adding zeroes2044 (6/15/2012 9:43:06 PM) comp.soft-sys.matlab Okay. Clearly that doesn't make sense worded like that. Let's say I have a matrix
[1;2;3;4;5]
But I want to to have dimensions 1x10. How could I fill the matrix up so that it is now
[1;2;3;4;5;0;0;0;0;0]
... Ellen
Reading data from a variable matrix337 (6/15/2012 8:05:09 PM) comp.soft-sys.matlab Is it possible to read through the data in a variable matrix and allocate it to memory? Much like what would be done when reading a file? I need to read all of the values of a 1x1900 matrix, then count how many... Ellen
Separating the number of columns in a data file430 (6/15/2012 5:32:07 PM) comp.soft-sys.matlab I have a fairly large data file, and I know the number of columns. I used import data to bring it in as a variable, however I need the columns separated into individual matrices. I saw I could do this in an old... Ellen
see.me.trot's replies:
Items(2) /1
Separating the number of columns in a data file430 (6/15/2012 5:32:07 PM) comp.soft-sys.matlab I have a fairly large data file, and I know the number of columns. I used import data to bring it in as a variable, however I need the columns separated into individual matrices. I saw I could do this in an old... see.me.trot(7)
fprintf is not reading the \n2829 (6/29/2012 6:41:18 PM) comp.soft-sys.matlab I need to have a matrix output to a file, I have it as a variable called 'First' and it's 7480x2, pretty big. The code I have been trying to use is:
fid=fopen('data_file.txt','w');
fprintf(fid,'%d','%d \n',... see.me.trot(7)