Community Profile

photo

Stuart McGarrity


MathWorks

502 total contributions since 2005

I'm from a small town called Largs near Glasgow in Scotland. I studied for my undergraduate degree in Electronic and Microprocessor Engineering and PhD in Signal Processing at Strathclyde University. I live in Natick, MA.

Contact

Stuart McGarrity's Badges

  • First Answer
  • Solver

View details...

Contributions in
View by

Published


Making a MATLAB Script to Move a Set of Video Files Based on Content
28:06 I have a folder full of video files (MP4s) which I want to move based on their content. Specifically, if...

3 days ago

Thumbnail

Published


Using TCP-IP to Communicate Between Two Instances of MATLAB
16:59 Here I step through how I implemented communication between two MATLAB instances on two different...

20 days ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 6: UIFigureCloseRequest Callback
5:46 If you remember, my app creates a timer to control the execution of the main loop. It doesn’t however...

1 month ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 5: Hooking-up Some UI Controls
31:13 Now I have a basic working app that starts monitoring a specific server immediately. Next, I try and...

2 months ago

Thumbnail

Published


Reading Whole Lines of Text from a File
29:58 Sometimes the text files I need to read have an irregular format, i.e. it changes row-to-row. MATLAB file...

2 months ago

Thumbnail

Answered
How to follow progress of a parfor-loop?
You can implement this with a data queue. See a waitbar example here: <https://www.mathworks.com/help/distcomp/send.html#bvmkkgt...

3 months ago | 1

Published


Building a Web Server Monitoring App, Part 4: Starting with App Designer
35:15 Now that I’ve got most of my data processing and plotting working, I think I can start using App Designer...

3 months ago

Thumbnail

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

3 months ago

Published


Using a List of Anonymous Functions to Implement a Set of Checks on a Data Set
40:29 I need to perform a number of checks on the values in a large table. Currently I implement the checks in...

4 months ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 3: Scheduling with a Timer
28:00 So far I have some charts displaying my server traffic in a while loop. Next, I think I want to execute...

5 months ago

Thumbnail

Answered
Apply function to all fields of a structure
Take a look at structfun and arrayfun.

5 months ago | 0

Published


Building a Web Server Monitoring App, Part 2: Plotting Streaming Data
34:06 In my last post, I worked on accessing a set of continually updating log files from a server. Here I will...

5 months ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 1: Reading Streaming Log Files
59:44 This will be one of a few posts where I work on building an app that will visualize traffic to a web...

5 months ago

Thumbnail

Published


Using Anonymous Functions to Parameterize the Log File Analysis
34:21 Here I restructure the section of my code that filters the requests, so I can easily add any filter rule...

6 months ago

Thumbnail

Published


What is Doug Hull Up to These Days?
Doug Hull was the founder and owner of this blog for 10 years. I talked about his contributions in my first post. Find out...

6 months ago

Thumbnail

Published


Updating My Map Function to Handle the New Log File Format
33:46 Here I continue with my analysis of the log files of a different server. I need to modify my map...

6 months ago

Thumbnail

Published


Making a Server Datastore Function
34:15 I want to carryout the analysis I did in my previous post on another server. However, that server has a...

7 months ago

Thumbnail

Published


Using the MapReduce Technique to Process 500GB of Server Logs
41:48 Here I’m using the MapReduce functionality in Parallel Processing Toolbox to process several hundred GBs...

7 months ago

Thumbnail

Published


Using R2016b Arithmetic Expansion Rules to Make a Matrix Without a For Loop
5:33 Here I show how the new arithmetic expansion rules in release 16b can be used to answer a blog post...

8 months ago

Thumbnail

Published


Incorporating Hourly Data Analysis into Another Function
23:26 Here I take the analysis I did in this post to group website crawl data by the hour, and incorporate it...

9 months ago

Thumbnail

Published


Modifying My Script to Add a Levenshtein Distance Column to My Table
30:55 Here I add another data column to my table, which is the Levenshtein distance between the redirecting...

9 months ago

Thumbnail

Published


Modifying a Script to Add an Additional Column to a Table
32:34 Here I’m doing some pretty mundane everyday modifications to an existing script (code-along style). I...

9 months ago

Thumbnail

Published


Using Retime with a Timetable to Aggregate Data By Hour
22:25 Last week I used varfun on a datetime variable in a table to count rows by hour. One of my colleagues...

10 months ago

Thumbnail

Published


Using varfun with datetime Values to Group Data By Hour
18:19 When I analyze our website, the testing system I use downloads all pages. It can take several hours as...

11 months ago

Thumbnail

Published


Writing a Script to Count Data in Multiple Text Files
37:54 Here I need to combine the data from multiple text files by grouping and summing by one variable. I also...

12 months ago

Thumbnail

Published


Adding a New UI Element to a MATLAB App with App Designer
21:28 If you have used GUIDE a lot in the past and are thinking of trying out App Designer, this will give you...

12 months ago

Thumbnail

Answered
Forecasting and predict using Artificial Neural Networking
The link in your question is broken.

1 year ago | 0

Published


Cody Code-Along: R2016b Feature Challenge – Use a timetable to analyze a train timetable, Part 4
19:59 In part 4 of the train timetable set of Cody problems, you need to calculate the average trip duration...

1 year ago

Thumbnail

Published


Trying Steve’s First Deep Learning Example
20:23 My colleague Steve Eddins, who you may know from his Image Processing blog, has a new one on Deep...

1 year ago

Thumbnail

Published


Cody Code-Along: R2016b Feature Challenge – Use a timetable to analyze a train timetable, Part 3
10:59 In part 3 of this set of Cody problems, you need to count the number of trains in one day. Afterwards, I...

1 year ago

Thumbnail

Load more