Rank: 1370 based on 54 downloads (last 30 days) and 7 files submitted
photo

Nathan Tomlin

E-mail
Company/University
NIST / CU Boulder

Personal Profile:
Professional Interests:
physics, cryogenic detectors

 

Watch this Author's files

 

Files Posted by Nathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Feb 2012 rename_files_by_age Automatically rename files by age from a set date. I use it to date pictures and videos of my kid. Author: Nathan Tomlin rename files, file organization 2 0
04 Mar 2011 Screenshot StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin scrolling display, scrolling scope, streaming data, streaming data displa..., streaming display, dynamic plot 7 0
14 May 2010 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin national instruments, daq, daqmx, nidaq, nicaiudll, nidaqmxh 17 6
  • 4.0
4.0 | 1 rating
12 May 2010 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin labjack, usb, communications 5 1
  • 5.0
5.0 | 1 rating
24 Jan 2010 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin interpolation, signal processing 7 5
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Nathan View all
Updated File Comments Rating
20 Dec 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

02 Dec 2011 EzyFit 2.41 A free curve fitting toolbox for Matlab Author: Frederic Moisy

27 Jul 2010 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin

No, I've never used simulink.

25 Jan 2010 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin

Orlando - unique returns a smaller array, [1,1,2] becomes [1,2]. While nonduplicate keeps the same number of values, but slightly shifts them so [1,1,2] becomes [1,1+eps,2]. The idea was to get interp1 to work by changing the values as little as possible.

'Anon' - Great point, this code is not a good idea if there is a lot of noise or large outliers in the y data. I hadn't heard of consolidator - I will check it out.

19 Jun 2009 Thresholding Tool Interactively select intensity level for image thresholding. Author: Robert Bemis

I apologize for cluttering the comments - didn't read carefully (and wish I could edit previous posts...). Like Benjamin said, it doesn't work if you input an RGB image. Just add:

if ndims(im) == 3
im = rgb2gray(im);
end
thresh_tool(im)

Comments and Ratings on Nathan's Files View all
Updated File Comment by Comments Rating
21 Aug 2012 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin Armstrong, Alan

I've tried to use your code but every time I try to load the library I get:

Warning: Warnings messages were produced while parsing. Check the functions you intend to use for correctness. Warning text can be
viewed using:
[notfound,warnings]=loadlibrary(...)
> In loadlibrary at 344
In TestDAQCard_1 at 11
Error using loadlibrary (line 419)
There was an error loading the library "C:\Documents and Settings\Administrator\My Documents\PhD\MATLAB\Experiment_2\nicaiu.dll"
A dynamic link library (DLL) initialization routine failed.

Error in TestDAQCard_1 (line 11)
loadlibrary('nicaiu.dll', 'NIDAQmx.h', 'mfilename', 'b') % The lib and h files are both in the matlab path so no need for the
above line(s)

Caused by:
Error using loaddefinedlibrary
A dynamic link library (DLL) initialization routine failed.

I use 'loadlibrary('nicaiu.dll','NIDAQmx.h', 'mfilename', 'b')' since I've added niaiu.dll and NIDAQmx.h to my matlab folder.

can you help?

thanks

26 Jun 2012 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin nico974

Hello, I have to acquire some analog samples over 30 seconds (1 sample every 0.01s). How can I do using a for loop in Matlab ?

20 Mar 2012 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin R, Venkat

very nice.IT works for me

25 Mar 2011 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin Toms, Lowell

Excellent job! Makes streaming a piece of cake!

04 Aug 2010 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin Warwick

works fine for me.
thanks.

Top Tags Applied by Nathan
communications, convert music, daq, daqmx, data acquisition
Files Tagged by Nathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Feb 2012 rename_files_by_age Automatically rename files by age from a set date. I use it to date pictures and videos of my kid. Author: Nathan Tomlin rename files, file organization 2 0
04 Mar 2011 Screenshot StripChartXY Scrolling XY plot to display streaming data. Author: Nathan Tomlin scrolling display, scrolling scope, streaming data, streaming data displa..., streaming display, dynamic plot 7 0
14 May 2010 DAQmx examples Examples of talking to a National Instruments (NI) DAQ card without the data acquisition toolbox. Author: Nathan Tomlin national instruments, daq, daqmx, nidaq, nicaiudll, nidaqmxh 17 6
  • 4.0
4.0 | 1 rating
12 May 2010 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin labjack, usb, communications 5 1
  • 5.0
5.0 | 1 rating
24 Jan 2010 nonduplicate Makes all values of input array distinct - used to get interp1 to work when x data has duplicates. Author: Nathan Tomlin interpolation, signal processing 7 5
  • 4.0
4.0 | 2 ratings

Contact us