Community Profile

photo

A123456


A

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


how can I sort an array of elements corresponding to another array of elements in decreasing order?
A = [0.4049 0.1354 0.0914 0.0578 0.0634 0.0494 0.0494 0.0494 0.0494 0.0494] B = [1 2 3 4 5 6...

8 years ago | 2 answers | 2

2

answers

Question


Power iteration in Matlab.
How can I implement the power iteration method in matlab? I have a vector, v and a matrix, G, I need to multiply them together u...

8 years ago | 2 answers | 0

2

answers

Question


setting up a random vector that sums up to 1.
How can I set up a random vector that will sum up to 1.

8 years ago | 2 answers | 0

2

answers

Question


right eigenvector corresponding to an eigenvalue 1
How can I find the eigenvector corresponding to the eigenvalue

8 years ago | 1 answer | 0

1

answer

Question


Replacing specific rows in a matrix.
How can I write a code so that every time a row in a matrix corresponds to all 0 elements, they can be replaced by say 1/10 for ...

8 years ago | 1 answer | 0

1

answer

Question


plotting an adjacency matrix
How can I plot an adjacency matrix in matlab <</matlabcentral/answers/uploaded_files/43470/gmatrixintegers.png>> so it co...

8 years ago | 3 answers | 0

3

answers

Question


'continue until' in matlab
if N=1:12 and m=1:12, How can I write if mod(N,m)==0, continue until mod(N,m) doesn't equal 0? I also want the answer for each...

8 years ago | 0 answers | 0

0

answers

Question


How can I get the diagonal elements of a matrix to be 0's
How can I get the diagonal elements of a matrix to have all 0's and 1's everywhere else?

8 years ago | 2 answers | 0

2

answers

Question


how to split a forloop into columns
I have written a code which contains a for loop but I need it to be seperated into columns. This is the code, however I would li...

8 years ago | 1 answer | 0

1

answer

Question


How can I find the multiplicity of a divisor N.
So say N=8, and 8=2^3 how would I get this in Matlab?

8 years ago | 3 answers | 0

3

answers