Statistics
7 Questions
0 Answers
RANK
237.496
of 289.945
REPUTATION
0
CONTRIBUTIONS
7 Questions
0 Answers
ANSWER ACCEPTANCE
71.43%
VOTES RECEIVED
0
RANK
of 19.611
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144.330
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
Feeds
Question
How to make a permanent change to a matrix using sortrows?
The code im writing, im using sort rows and its working great, it takes my array of random numbers and then puts it in order com...
meer dan 6 jaar ago | 1 answer | 0
1
answerQuestion
Can anyone tell me what is wrong with my script?
N = input('boardsize '); NQ = 0; X = zeros(N); X(sub2ind([N,N], 1:N, randperm(N, N))) = 1; while(NQ<N) for i = ...
meer dan 6 jaar ago | 0 answers | 0
0
answersQuestion
Can I assign values to an array in a diagonal direction from a reference point on that array?
If I have an array of size NxN,called X, and I count through it using an (i,j) for loop like this for i = 1:N for j = 1...
meer dan 6 jaar ago | 5 answers | 0
5
answersQuestion
Can I count the number of integers in an index and store it in a variable?
index = find([X] == 1) If I have an array X and I use index to find the where the value 1 is in the array and it gives m...
meer dan 6 jaar ago | 1 answer | 0
1
answerQuestion
Print numbers on an array that have a unique row and column
The code I wrote can print 1's on a unique column but can be on the same row. How could I get it to have a unique row? ...
meer dan 6 jaar ago | 3 answers | 0
3
answersQuestion
How do you change an entire row or column of an array to a certain value
If I have an array of all zeros X = zeros(N) How do I change a column to a value I want.
meer dan 6 jaar ago | 1 answer | 0
1
answerQuestion
How can I change rows and and diagonals in an array of size NxN
Below is the code im starting for a "queens project" where you place queens on a board so they cant attack eachother, My profess...
meer dan 6 jaar ago | 0 answers | 0