Rank: 22 based on 4441 downloads (last 30 days) and 21 files submitted
photo

Stuart McGarrity

E-mail
Company/University
The MathWorks Inc

Personal Profile:

I'm from a small town called Largs near Glasgow in Scotland. Studied for my undergraduate degree in Electronic and Microprocessor Engineering and PhD in Signal Processing at Strathclyde University. Currently I work on MATLAB Videos at the MathWorks and live in Washington DC.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Stuart View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Oct 2009 Published M-Files Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code Author: Stuart McGarrity article, matlab, c, paper, ruby, tree 422 12
  • 3.875
3.9 | 8 ratings
05 Aug 2009 Published M-Files Textscantool GUI to read large text files Author: Stuart McGarrity data export, data import, potw, textscan large data t... 259 24
  • 4.46154
4.5 | 13 ratings
04 Aug 2009 Screenshot chkmem Detect and Diagnose MATLAB® Memory Fragmentation Problems Author: Stuart McGarrity out of memory matlab ... 216 1
  • 5.0
5.0 | 3 ratings
04 Aug 2009 Published M-Files What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples Code examples used in "What's New for Object-Oriented Programming in MATLAB®" Webinar Author: Stuart McGarrity object oriented progr..., whitepaper, classdef, article, classes, paper 128 2
  • 5.0
5.0 | 3 ratings
04 Aug 2009 Screenshot Maximizing Code Performance by Optimizing Memory Access Code Segments Code Segments used in "Maximizing Code Performance by Optimizing Memory Access" News & Notes Article Author: Stuart McGarrity maximizing code perfo... 108 1
  • 4.75
4.8 | 4 ratings
Comments and Ratings by Stuart View all
Updated File Comments Rating
19 Nov 2009 Bluetooth voice transmission Bluetooth Voice Transmission Author: Stuart McGarrity

This model was only tested with the MATLAB release listed above (7.0.1) and a few others. A version of this model which works with the current release of MATLAB and Simulink is shipped with the Communications Blockset called commbluetoothvoice.mdl

Enter at the command line:
>>commbluetoothvoice

19 Oct 2009 Textscantool GUI to read large text files Author: Stuart McGarrity

Don't add the code at the very begining. Add if just before the first "if str2double..." line you insert.

03 Oct 2009 Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code Author: Stuart McGarrity

Yes, I agree that this is a pure translation / syntax comparison, intended to help programmers of these languages, become familiar with MATLAB OO syntax. It could be implemeted in a way more appropriate for MATLAB (while loosing the direct syntax comparison). I would encourage anyone to submit a new version of the code that does this. (I will fix the HTML typo - Thanks).

10 Sep 2009 Textscantool GUI to read large text files Author: Stuart McGarrity

Add this line at the beginning of textscantool.m
versionStr=version;

Then replace both instances of:
if verLessThan('MATLAB','7.6')

With:
if str2double(versionStr(1:3))<7.6

It should work in version 7.1

10 Sep 2009 Textscantool GUI to read large text files Author: Stuart McGarrity

What version of MATLAB do you have? This file only works for release 7a (MATLAB 7.4 ) or later.

Comments and Ratings on Stuart's Files View all
Updated File Comment by Comments Rating
19 Nov 2009 Bluetooth voice transmission Bluetooth Voice Transmission Author: Stuart McGarrity McGarrity, Stuart

This model was only tested with the MATLAB release listed above (7.0.1) and a few others. A version of this model which works with the current release of MATLAB and Simulink is shipped with the Communications Blockset called commbluetoothvoice.mdl

Enter at the command line:
>>commbluetoothvoice

19 Nov 2009 Bluetooth voice transmission Bluetooth Voice Transmission Author: Stuart McGarrity Cooley, Jarred

I am also having trouble running this demo. It fails every time. Is there an updated simulation that works?

Thank you very much

03 Nov 2009 Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code Author: Stuart McGarrity hiha

Why doesn't the matlab test function run ?

01 Nov 2009 Comparison of C++ and MATLAB Using Object Oriented Application Example Wireless Communications Application Example Used to Compare C++ and MATLAB® Code Author: Stuart McGarrity Omar

19 Oct 2009 Textscantool GUI to read large text files Author: Stuart McGarrity burcu

Thanks for the advice Stuart but now i have 2 new errors. Sorry not to mentioning it first but my version is 7.2.0.232, could it be the reason?

??? Operands to the || and && operators must be convertible to logical scalar values.

Error in ==> uitable at 170
            else if (isnumeric(varargin{i+1}) && size(varargin{i+1}) == [1 3])

Error in ==> textscantool at 127
    uitableJavaHandles.lineStringsTable=uitable('Parent',fig,'Data',1, 'ColumnNames',{''},'gridcolor',GUIcolor);

Top Tags Applied by Stuart
wireless, article, matlab, paper, simulink
Files Tagged by Stuart View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Oct 2009 Published M-Files Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code Author: Stuart McGarrity article, matlab, c, paper, ruby, tree 422 12
  • 3.875
3.9 | 8 ratings
05 Aug 2009 Published M-Files Textscantool GUI to read large text files Author: Stuart McGarrity data export, data import, potw, textscan large data t... 259 24
  • 4.46154
4.5 | 13 ratings
04 Aug 2009 Screenshot chkmem Detect and Diagnose MATLAB® Memory Fragmentation Problems Author: Stuart McGarrity out of memory matlab ... 216 1
  • 5.0
5.0 | 3 ratings
04 Aug 2009 Published M-Files What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples Code examples used in "What's New for Object-Oriented Programming in MATLAB®" Webinar Author: Stuart McGarrity object oriented progr..., whitepaper, classdef, article, classes, paper 128 2
  • 5.0
5.0 | 3 ratings
04 Aug 2009 Screenshot Maximizing Code Performance by Optimizing Memory Access Code Segments Code Segments used in "Maximizing Code Performance by Optimizing Memory Access" News & Notes Article Author: Stuart McGarrity maximizing code perfo... 108 1
  • 4.75
4.8 | 4 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com