Community Profile

photo

Stuart McGarrity


MathWorks

494 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


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...

20 days 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...

1 month ago

Thumbnail

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

2 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...

2 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...

2 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...

3 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...

3 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...

3 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...

4 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...

4 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...

5 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...

6 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...

6 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...

6 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...

7 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...

8 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...

9 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...

9 months ago

Thumbnail

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

9 months 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...

10 months 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...

10 months 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...

10 months ago

Thumbnail

Solved


Use a timetable to analyze a train timetable (Part 4)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) What is the average daily tri...

10 months ago

Solved


Use a timetable to analyze a train timetable (Part 3)
Oh no, you missed your train to Boston (again?)! How many times can you miss that train today? (In other words, how many Boston ...

10 months ago

Published


Cody Code-Along on Facebook Live
I tried out Facebook Live this afternoon, doing a MATLAB code-along using problems from Cody. I went through the Cody...

10 months ago

Thumbnail

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

10 months ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

10 months ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

10 months ago

Published


Cody Code-Along: R2016b Feature Challenge – Use a timetable to analyze a train timetable, Part 2
18:02 In part 2 of this Cody problem you need to select the next departure from a train time table based on...

11 months ago

Thumbnail

Solved


Use a timetable to analyze a train timetable (Part 2)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Yo...

11 months ago

Load more