Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Thiago
Posts:
3
Registered:
9/27/12
|
|
Export variable to .txt
Posted:
Oct 17, 2012 2:32 PM
|
|
Hi, I have some .xls files with 4 columns and more than 6,000 rows (numbers),that i need to import to matlab, then sort it rows... Now I need to export this sorted variable to a .txt file Take a look in my script
%% Import data [~, ~, BCM2] = xlsread('path','filename','matrixrowsandcolumns'); BCM2(cellfun(@(x) ~isempty(x) && isnumeric(x) && isnan(x),BCM2)) = {''};
%% Data sort BBCM2 = sortrows(BCM2);
%% Saving sorted Data to a text file
here is my problem, i need to generate a .txt file with this BBCM2 variable and I don't know how can i do that..
Please, any help will be welcome!
thanks!
|
|
|
Date
|
Subject
|
Author
|
|
10/17/12
|
|
Thiago
|
|
10/17/12
|
|
dpb
|
|
|