Community Profile

photo

Stephen


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Logical Indexing: Using a 1x18 array to build a 200*18 matrix
Hello, Failmatrix is a 200x18 binary matrix. Costmatrix is a 1x18 array of cost integers. I am trying to create a 200x1 matri...

5 years ago | 1 answer | 0

1

answer

Question


Can looping values be used for indexing?
Hello, I have a variation of the following code running but I am looking to make the code a bit more efficient by looping inste...

5 years ago | 1 answer | 0

1

answer

Question


Alternative to 'find' which won't return multiple values?
Hello, I am running the following code, which works most of the time but occasionally causes issues. The problem is that ocassi...

5 years ago | 2 answers | 0

2

answers

Question


Just how random are random numbers in MATLAB?
Hello, I am working on a project that requires random whole number generation between 1:20,000, repeated 10 times. Every single...

5 years ago | 2 answers | 0

2

answers

Question


How to sum a row of variables during a loop
Hi, dont know if this is possible but I'll ask anyway. I have a 100*2 matrix. I want to check if each value equals 1 or zero, i...

5 years ago | 1 answer | 0

1

answer

Question


Trying to generate a value each loop, and then add that value to multiple variables in an array
Hello, Say I have an array with 2 variables, LPCopen and HPCopen. I would like to create a loop that each generation will ad...

5 years ago | 1 answer | 0

1

answer

Question


Residuals from a Two-Way ANOVA
Here is my code, I am trying to extract and plot the residuals, really not sure how to go about it y = [ 73 68 67 67 73 ...

5 years ago | 0 answers | 1

0

answers

Question


Receiving 'Dimensions of arrays being concatenated are not consistent.' error, but there are equal amounts of rows being input.
I am trying to make a table where the first column is variable names, and the second is variable data. I have tried; T = table(...

5 years ago | 1 answer | 0

1

answer

Question


Identifying certain x value of a graph when x is not dependent on y?
Hi, I have plotted 2 columns of data from an excel sheet, I have identified several peaks and I would like to know the times as...

7 years ago | 1 answer | 0

1

answer