Community Profile

# Shane L

Last seen: 12 months ago Active since 2016

All

View badges

#### Content Feed

View by

Answered
Storing a Square Wave in an array that is more than just one row
As you noted, your t and image arrays are 1 x W, whereas your temp array is W x H. When you try to index temp(:,x) = image; yo...

2 years ago | 1

| accepted

Answered
How to add more than two elements of a cell, where each element in the cell is a matrix of identicle size?
Try this: sum(cat(3, M{:}), 3) This first concatenates all of the arrays in the cells of M into a three-dimensional numeric ar...

2 years ago | 1

| accepted

Answered
Can I plot multiple polar histograms together?
The problem is that subplot creates axes, whereas polarhistogram requires polar axes (see polaraxes). I don't know of an equival...

2 years ago | 0

| accepted

Answered
How do I get a "tabular" legend?
If you are looking for a code that is built to create a "tabular" legend, my <https://www.mathworks.com/matlabcentral/fileexchan...

3 years ago | 0

Answered
If I start with a matrix of zeros, how can I easily create a circle of ones in that matrix?
One way to do it (not necessarily the most efficient, but easy to understand): Z = zeros(99); % create square matrix of zer...

4 years ago | 2

Answered
Spectrogram behaves unexpectedly when changing input values systematically
The 2nd argument (if it is a single integer), WINDOW, is not the number of time segments into which to split the data, but the l...

4 years ago | 2

| accepted