Statistics
10 Questions
0 Answers
RANK
35,218
of 288,897
REPUTATION
1
CONTRIBUTIONS
10 Questions
0 Answers
ANSWER ACCEPTANCE
60.0%
VOTES RECEIVED
1
RANK
of 19,494
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 143,096
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
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
answerQuestion
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
answerQuestion
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
answersQuestion
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
answersQuestion
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
answerQuestion
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
answerQuestion
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
answersQuestion
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
answerQuestion
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
answerQuestion
Trying to randomly place "ships" on a matrix for a game of battleship, running a loop to stop ships from overlapping but it continually tells me "index exceeds matrix dimensions", any pointers on how to execute the loop properly would be appreciated
function M = AddShip( Matrix, length1) M=Matrix; %SHIP1--CRUISER(22) loop_on=0; while loop_on==0 ...
9 years ago | 0 answers | 0