Rank: 3118 based on 34 downloads (last 30 days) and 4 files submitted
photo

Kristofer Kusano

E-mail
Company/University
Virginia Tech
Lat/Long
37.22763, -80.42233

Personal Profile:

 

Watch this Author's files

 

Files Posted by Kristofer Kusano View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Aug 2014 Read Tabular Data Package Read in http://dataprotocols.org/ standard Tabular Data Package Author: Kristofer Kusano data import, data package, data 5 0
17 Dec 2013 Screenshot csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano csv, comma separated value, io, file read 12 3
  • 5.0
5.0 | 1 rating
29 Aug 2013 dlmread_empty Modifies MATLAB's built-in dlmread function with support for changing empty cell value in the output Author: Kristofer Kusano dlmread, io, delimited text 5 2
  • 5.0
5.0 | 1 rating
25 Sep 2012 Screenshot Add Percent ("%") Symbol to Axes Tick Labels Add a percent ("%") symbol to the x, y, or both axes Author: Kristofer Kusano plot, xticklabel, yticklabel, axes label, format, formatting 12 0
Comments and Ratings by Kristofer Kusano View all
Updated File Comments Rating
17 Dec 2013 csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano

Hi Raj. Thanks for bringing this to my attention. I think there was a bug in the installer script. I've updated this submission to hopefully fix it. Try downloading and running the updated script.

25 Sep 2012 LAPJV - Jonker-Volgenant Algorithm for Linear Assignment Problem V3.0 A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. Author: Yi Cao

Thanks for the post, this worked great.

02 May 2012 VChooseK Choose K elements from a vector - MEX: 100 times faster than NCHOOSEK Author: Jan Simon

This works great, much faster than the built in Matlab function, as advertised. Thanks for sharing your work!

02 Mar 2012 MY_XTICKLABELS Replaces XTickLabels with "normal" texts accepting multiline texts and TEX interpreting Author: Pekka Kumpulainen

Very nice, thanks for posting this

02 Mar 2012 MY_XTICKLABELS Replaces XTickLabels with "normal" texts accepting multiline texts and TEX interpreting Author: Pekka Kumpulainen

Comments and Ratings on Kristofer Kusano's Files View all
Updated File Comment by Comments Rating
16 Oct 2014 dlmread_empty Modifies MATLAB's built-in dlmread function with support for changing empty cell value in the output Author: Kristofer Kusano William

Well, I got rid of my earlier problem, my syntax was wrong. But now, the function is running without error, but it is not inserting NaN into my empty cells. It simply moves the data, much like regular dlmread would.

18 Jun 2014 dlmread_empty Modifies MATLAB's built-in dlmread function with support for changing empty cell value in the output Author: Kristofer Kusano Mickaël Tits

Thank you very much! I was using basic dlmread but wanted "NaN" values instead of "0" for empty cells. Your function does it perfectly.

18 Dec 2013 csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano Raj Sodhi

Hello Kristofer,

I got it working by commenting out the 1st half of that code cell.

===============
%% Edit static Class path, depending on version
% if (v(1) >= 7 && v(2) < 14)
% % 2012a and before - still uses classpath.txt
% a = which('classpath.txt'); % location of current
% if (~isempty(a))
% fid = fopen(a, 'a');
% fprintf(fid, '%s\n', mvpath);
% fclose(fid);
% else
% error('installCSVReader:NoClassPath',...
% 'No java class path on pre 2012a version')
% end
% end

if (v(1) >= 7 && v(2) >= 15 || v(1) >= 8)
% add to static java class path
jcp_txt = fullfile(prefdir, 'javaclasspath.txt');
if (exist(jcp_txt, 'file'))
fid = fopen(jcp_txt, 'a'); % append current
else
fid = fopen(jcp_txt, 'w'); % doesn't yet exist
end
fprintf(fid, '%s\n', mvpath);
fclose(fid);
end
===============

Yours,

Raj

17 Dec 2013 csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano Kristofer Kusano

Hi Raj. Thanks for bringing this to my attention. I think there was a bug in the installer script. I've updated this submission to hopefully fix it. Try downloading and running the updated script.

13 Dec 2013 csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano Raj Sodhi

When I tried installing "installCSVReader" it said "probably already installed." So I said 'great' and tried running csvreader.m.

... no luck:
Error: File: csvreader.m Line: 101 Column: 8
Arguments to IMPORT must either end with ".*" or else specify a fully qualified
class name: "au.com.bytecode.opencsv.CSVReader.class" fails this test.

I tried changing the line to:
import au.com.bytecode.opencsv.* ; % import java classes

... but then it told me the CSV file does not exist.

I looked at the contents of the .jar file as follows:
>> !jar tf opencsv-2.3.jar
META-INF/
META-INF/MANIFEST.MF
au/
au/com/
au/com/bytecode/
au/com/bytecode/opencsv/
au/com/bytecode/opencsv/CSVParser.class
au/com/bytecode/opencsv/CSVReader.class
au/com/bytecode/opencsv/CSVWriter.class
au/com/bytecode/opencsv/ResultSetHelper.class
au/com/bytecode/opencsv/ResultSetHelperService.class
au/com/bytecode/opencsv/bean/
au/com/bytecode/opencsv/bean/ColumnPositionMappingStrategy.class
au/com/bytecode/opencsv/bean/CsvToBean.class
au/com/bytecode/opencsv/bean/HeaderColumnNameMappingStrategy.class
au/com/bytecode/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.class
au/com/bytecode/opencsv/bean/MappingStrategy.class

Yours,

Raj

Contact us