Rank: 928 based on 74 downloads (last 30 days) and 6 files submitted
photo

Nathan Tomlin

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
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 11 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 16 4
  • 4.0
4.0 | 1 rating
12 May 2010 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin labjack, usb, communications 12 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 8 4
  • 4.0
4.0 | 1 rating
11 Feb 2008 Screenshot Fix bounding box in MATLAB exported encapsulated postscript (.eps) files Tweak bounding box (excess space) from matlab exported encapsulated postscript files (.eps) Author: Nathan Tomlin graphics import, graphics export, encapsulated postscri... 18 1
  • 3.0
3.0 | 1 rating
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.40 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
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.

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

No, I've never used simulink.

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

Are you by chance using this code as S- Function? If so how did you implement it

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

Found a fix for R2009b:
taskh = libpointer('voidPtrPtr',0);
muxHandle = taskh;

[result, ~, muxHandle] = calllib('nidaqmx','DAQmxCreateTask','',muxHandle);
muxHandle.setdatatype('voidPtrPtr');
[result, a, b] = calllib('nidaqmx','DAQmxGetTaskName',muxHandle,charBuffer,length(charBuffer));
[result,~,~,~] = calllib('nidaqmx','DAQmxCreateDOChan',muxHandle,'/Moo/port0/line0:3','MUXlines',0);

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
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 11 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 16 4
  • 4.0
4.0 | 1 rating
12 May 2010 LabJackU3 This function simplifies talking to a labjack U3. Author: Nathan Tomlin labjack, usb, communications 12 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 8 4
  • 4.0
4.0 | 1 rating
11 Feb 2008 Screenshot Fix bounding box in MATLAB exported encapsulated postscript (.eps) files Tweak bounding box (excess space) from matlab exported encapsulated postscript files (.eps) Author: Nathan Tomlin graphics import, graphics export, encapsulated postscri... 18 1
  • 3.0
3.0 | 1 rating

Contact us at files@mathworks.com