Rank: 2572 based on 54 downloads (last 30 days) and 3 files submitted
photo

Kristofer Kusano

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

Personal Profile:
Professional Interests:
automotive safety

 

Watch this Author's files

 

Files Posted by Kristofer View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
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 17 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 15 1
  • 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 22 0
Comments and Ratings by Kristofer 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's Files View all
Updated File Comment by Comments Rating
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 Tits, Mickaël

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 Sodhi, Raj

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 Kusano, Kristofer

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 Sodhi, Raj

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

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

Contact us