Community Profile

# thitch

### McGill University

Last seen: 5 months ago Active since 2016

M.Eng student at McGill University interested in computer vision, additive manufacturing, and control systems.

All

#### Content Feed

View by

Submitted

Concatenate identical structures
Concatenate field data from two MATLAB structures with identical fields.

Question

Accessing subclass methods from abstract superclass
Hi all, Longtime listener, first time caller. I'm attempting to augment an abstract superclass with a method that calls (concr...

2 years ago | 4 answers | 1

### 4

Compare and find multiple matching strings
The following may help to get you started: rawInpStr = {'cat','dog','whale'}; mySearchTerms = {'cat','dog','whale','came...

5 years ago | 0

How to check the accessibility between two points in a matrix?
I would recommend implementing a simple region growing algorithm (google it), where your seed points are 11 and 22. You can kee...

5 years ago | 0

How to read the pixel value
You could use the following: ind = 1:size(A,1); A(:,3) = arrayfun(@(x) I(A(x,1),A(x,2)), ind)';

5 years ago | 1

| accepted

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

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

6 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago