Community Profile

photo

Stuart McGarrity


MathWorks

512 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


Deploying My MATLAB App as a Web App
17:02 I want to turn the MATLAB App I developed recently into a web app so it is accessible from a browser. It...

27 jours ago

Thumbnail

Published


Building a MATLAB App to Extract Web Page HTML Patterns
93:06 A colleague asked if I could extract a date string from a set of MATLAB Answer pages. I’ve often needed...

environ un mois ago

Thumbnail

Published


Setting the Strings in a Table to a Constant
9:52 I have a table with many columns, some of which are stings. I want to set all the string values to a...

2 mois ago

Thumbnail

Published


Using a Conditional Breakpoint in a for Loop
2:53 I have a for loop that is transforming my data in a way I did not expect, so I use a conditional...

3 mois ago

Thumbnail

Published


Editing a MATLAB Function to Add an Another Parameter
11:14 I’m going to make some edits to another MATLAB function while stopped at a breakpoint, so the variables...

3 mois ago

Thumbnail

Published


Editing a MATLAB Function While Stopped at a Breakpoint
5:57 I often will edit code while stopped at a breakpoint. This lets me have all variables available to process...

4 mois ago

Thumbnail

Published


Trying Out inputparser
20:51 I’m going to try to use inputparser for the first time, to specify name-value pair parameters for my...

4 mois ago

Thumbnail

Published


Debugging a Failed File Import
19:12 One of my continuously running MATLAB scripts just failed and has stopped at a breakpoint (I had set...

5 mois ago

Thumbnail

Published


Creating a Function to Format a Spreadsheet
33:35 I often export to Excel to share results with others. In doing so I control the format of the output with...

5 mois ago

Thumbnail

Published


Extracting the Variable Names of a Logical Table
16:09 I have a table of logical data, with only one true in a row. I want to find the variable name (column...

6 mois ago

Thumbnail

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

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

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

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

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

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

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

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

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

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

11 mois ago

Thumbnail

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

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

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

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

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

environ un an 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...

environ un an 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...

environ un an 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...

environ un an 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...

environ un an 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...

environ un an ago

Thumbnail

Load more