Community Profile

# James Morris

9 total contributions since 2019

#### James Morris's Badges

View details...

Contributions in
View by

Question

Matlab2015 - How to minimize a figure?
Is there a short line of code I can include after a plot has been drawn and annotated to minimize it automatically and save the ...

8 mesi ago | 0 answers | 0

### 0

Question

Taking middle 4 values of n size array
I know how to take the first 4 values of an n size array (1:4) and the last 4 (end-4:end) but how would I take the middle 4 va...

8 mesi ago | 3 answers | 0

### 3

Question

Easiest way to change variables based on decisions made by user?
I am using kNN classification on data extracted via tracking of video. I have different predictors that need to be loaded based...

8 mesi ago | 1 answer | 0

### 1

Question

Findpeaks - excluding peaks within certain x axis values
I am using findpeaks (result seen below), however I would like to ignore the first peak within x axis 0 - 10. What is the best w...

8 mesi ago | 1 answer | 0

### 1

Question

Unique not working - may be due to different datatypes in array
After smoothing out the data from one array I end up with one containing the values shown below. I want to get rid of the duplic...

8 mesi ago | 1 answer | 0

### 1

Question

Selecting a point on a scatter plot, saving index of point
What is the best way to allow a user to select 5 data points on a scatter plot and then save the index of these plots? Code I...

8 mesi ago | 1 answer | 0

### 1

Question

Best Way to find density of [x,y] coordinates within set window
I am using Matlab 2015. What is the best way to code a set window and have it move through some [x,y] coordinate data (from star...

8 mesi ago | 3 answers | 0

### 3

Question

Iterating over an array to produce an array of calculated variances based on the next 9 entries and previous 9 entries
Code % Extract x coordinates from 1st column of h_coordinates x_coordinates = h_coordinates(:,1); for i=1:length(x_coor...

8 mesi ago | 1 answer | 0