Statistiques
7 Questions
0 Réponses
RANG
95 303
of 297 105
RÉPUTATION
0
CONTRIBUTIONS
7 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
71.43%
VOTES REÇUS
0
RANG
of 20 417
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 157 897
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE 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...
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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 = ...
plus de 7 ans il y a | 1 réponse | 0
0
réponseQuestion
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...
plus de 7 ans il y a | 5 réponses | 0
5
réponsesQuestion
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...
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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? ...
plus de 7 ans il y a | 3 réponses | 0
3
réponsesQuestion
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.
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 7 ans il y a | 1 réponse | 0