Rank: 4787 based on 21 downloads (last 30 days) and 3 files submitted

Charlie Hogg

Cambridge University

Personal Profile:

I'm a mathematician PhD working on environmental science. My experience mainly lies in water flow in lakes and mass and heat transfer in buildings.


Watch this Author's files


Files Posted by Charlie Hogg View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Dec 2013 round_to_sigfig rounds a number to a specified number of significant figures Author: Charlie Hogg significant figures 3 0
09 Aug 2013 upload data from digiflow .dfc format into matlab Converts data written in digiflow .dfc format to be able to be used in matlab. Author: Charlie Hogg digiflow, data import 8 0
09 Aug 2013 Move_to_subplots Move axes to another figure window as a suplot Author: Charlie Hogg figure, data exploration 10 0
Comments and Ratings by Charlie Hogg View all
Updated File Comments Rating
26 Oct 2014 Improved NMEA Line reader Reads NMEA 0183 Sentences Author: Lex

Is findtext faster than the previous one?

I have NMEA strings that start with the date rather than the tag. This means that the script fails. I had to change which element in the fields variable was used in the script in line 73.

26 Oct 2014 NMEA 0183 Sentence Reader Reads a NMEA 0183 sentence into a Matlab structure. Author: Adam Leadbetter

Thanks, very helpful.

I was wondering if this has been superseded by now and what the best tool is to read NMEA data. Particularly, I have about 1 GB of NMEA strings to read, so I need something quite fast.

I also had some crashes with this script when the NMEA strings weren't detected. The oderfields command crashed when given a Nan. I added this to the end of the code, which seemed to fix the problem for me.

if exist('data.ierr')%,'class')%~=-2
data = orderfields(data);

12 Aug 2014 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Does anyone have any ideas on this exponent problem?

My guess is that matlab includes the exponents as a different kind of child of the plot object than other text, which causes trouble for matlabfrag. The axis exponents are difficult to access within matlab too.

25 Jul 2014 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

I have used this tool for ages and I think it's great.

I have one problem occasionally. When I try to plot a color bar which has an exponent (e.g. 10^-3), the exponent is not recognised in latex and the tag (e.g. 000) comes through.

Has anyone had this problem and found a work around? The tex file seems to be created ok, but the tag (000) in the eps file is not picked up.

My work around is to multiply the colour legend by the exponent and then add the exponent manually - not ideal.


Contact us