Rank: 719 based on 195 downloads (last 30 days) and 4 files submitted
photo

Raj Sodhi

E-mail
Company/University
Agilent. Technologies
Lat/Long
38.4406, 122.7133

Personal Profile:

Got hooked on Matlab 15 years ago, and have been learning new techniques and analysis techniques ever since.

Professional Interests:
electronics, numerical computing and estimation

 

Watch this Author's files

 

Files Posted by Raj View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Jun 2013 Screenshot Analytic Circuit Solver Reads in text netlist and uses symbolic toolbox to provide transfer function in analytic form. Author: Raj Sodhi analytic circuit solv... 19 0
26 Jan 2012 Russell Index Member Companies Downloads PDF file from www.Russell.com to get Russell Index member companies. Author: Raj Sodhi java external interfa..., jar, jar files, pdf, finance, string manipulations 9 0
24 Jan 2012 Screenshot 24 Game Solver Solves Chinese Math Game of 24 Author: Raj Sodhi mathematics, 24 game, arithmetic 17 0
29 Jun 2010 iPod Scramble Solution Solves the Scramble game (like Boggle) by Zynga on my iPod. Author: Raj Sodhi ind2sub, sub2ind, boggle, scramble, zynga 150 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Raj View all
Updated File Comments Rating
18 Dec 2013 csvreader A robust comma separated value (CSV) parsing function for MATLAB Author: Kristofer Kusano

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

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

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

13 May 2013 Fast Import of Compressed Binary .RAW Files Created with LTspice Circuit Simulator Loads .raw simulation files created with LTspice (a free circuit simulation tool). Author: Paul Wagner

This is fantastic! I struggled with Helmut's ltsputil.exe program for a while, intending to bring the final results into Matlab and this program does all that in 1 step.

15 Oct 2012 crossing Detect zero (or any other) level crossing of signals. Author: Steffen Brueckner

If the sign change of S happens between index 1 and index 2, the code breaks, because S(ind-1) refers to S(0), which Matlab doesn't like.

09 Jan 2012 Get HTML-table data into MATLAB via urlread and without builtin browser Based on getTableFromWeb with a little more functionality for bring in table data from web to MATLAB Author: Sven Koerner

Fantastic!

Comments and Ratings on Raj's Files
Updated File Comment by Comments Rating
14 Feb 2011 iPod Scramble Solution Solves the Scramble game (like Boggle) by Zynga on my iPod. Author: Raj Sodhi Natale, Emanuele

fantastic

Contact us