Feeds
질문
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...
9년 초과 전 | 답변 수: 2 | 2
2
답변질문
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...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
setting up a random vector that sums up to 1.
How can I set up a random vector that will sum up to 1.
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
right eigenvector corresponding to an eigenvalue 1
How can I find the eigenvector corresponding to the eigenvalue
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
plotting an adjacency matrix
How can I plot an adjacency matrix in matlab <</matlabcentral/answers/uploaded_files/43470/gmatrixintegers.png>> so it co...
거의 10년 전 | 답변 수: 3 | 0
3
답변질문
'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...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
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?
거의 10년 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
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?
거의 10년 전 | 답변 수: 3 | 0
