Community Profile

# Stuart McGarrity

### MathWorks

63 total contributions since 2007

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.

• ﻿

View details...

Contributions in
View by

Forecasting and predict using Artificial Neural Networking

4 hours ago | 0

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

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

21 days ago

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

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

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

1 month ago

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

1 month ago

Solved

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

5 months ago

Solved

When Was That Goal Scored?
We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...

5 months ago

Solved

Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

5 months ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 3)
We have a series of addresses like the following which we'd like to reformat. Each of the addresses lacks a space and a comma ...

5 months ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 2)
We have a series of addresses like the following which we'd like to reformat. All the addresses are in the Boston area of Mass...

5 months ago

Solved

Use R2016b Text Manipulations to Fix These Addresses (Part 1)
We have a series of addresses like the following which we'd like to reformat. Can you remove the latitude and longitude from the...

6 months ago

I need to develop a code of one PDE using Lax Wendroff method.
Correct link for shallow water equation document is: <https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/ex...

6 months ago | 0

Solved

String Array Basics, Part 4: Convert String Array with Missing Values to Cell Array
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

8 months ago

Solved

String Array Basics, Part 3: Convert Cell Array with Missing Values to String Array
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

8 months ago

Solved

String Array Basics, Part 2: Convert String Array to Cell Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

9 months ago

Solved

String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

9 months ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 months ago

Submitted

"Linked Plots and Data Brushing" Video: Commands and Script
MATLAB® Commands, data files and voice-over script used in "Linked Plots and Data Brushing" video.

Submitted

"Getting Started with MATLAB" Video: Commands and Script
Commands and script used in "Getting Started with MATLAB®" Video on MATLAB demo page.

Submitted

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

Submitted

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

Submitted

Comparison of C++ and MATLAB Using Object Oriented Application Example
Wireless Communications Application Example Used to Compare C++ and MATLAB® Code

Submitted

Textscantool
App to read large text files

Submitted

Maximizing Code Performance by Optimizing Memory Access Code Segments
Code Segments used in "Maximizing Code Performance by Optimizing Memory Access" News & Notes Article

Submitted

chkmem
Detect and Diagnose MATLAB® Memory Fragmentation Problems

Submitted

MDF Import Tool and Function
App and function to import signal data from MDF (Measure Data Format) files

Submitted

Handling Large Data Sets Efficiently in MATLAB
Handling Large Data Sets Efficiently in MATLAB®

Submitted

Import Fig File to Axes
Import fig file to axes