Feeds
질문
Exclude matrix diagonal in for loop
Hi, Let's say I have a 20x20 matrix for which I wish to run some formulas over a loop. But I wish to exclude the main diagona...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Stationary distribution for a 50x50 ??!
Hi. How would one find a stationary distribution for a 50x50 transition matrix using Matlab? Thanks!
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Call a script via a function?
Hi. Can I call (run) a script in a function? My inputs are elements of a 10x10 matrix. How would I write the output?
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Loop Matrix elements on a script?
Hi. Let's say I have a function who's inputs are from an array (1 to k) of external data. The output to the function is an kx...
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
Run function for paired data?
Hi, Let's say I have a 10x10 matrix A. I wish to run *each unique* pair of elements from that matrix (e.g. (1,1),(1,2),...,(1...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
Rank matrix elements in descending order
Hi! I have a matrix from which I want the elements to be moved to a table where the elements are sorted via descending order....
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Use elements from different Matrices as function input
Hi I previously asked a question which was resolved here: http://uk.mathworks.com/matlabcentral/answers/168532-use-matrix...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Use Matrix element as function input
Hi! I have a 10x2 Matrix A, defined as A=R*T. Where R and T are also Matrices. I have: function [S] = myFunction(q,w...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Remove space between Matrix elements?
Hi! I have a Matrix which I copied over from Excel, but the problem is it has 2 extra *horizontal* spaces between elements th...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Select elements of Matrix?
Hi, I have a 20x20 matrix, P. I wish to define a matrix Q such that the rows of Q are the LAST 18 rows of P (rows 2-20), an...
거의 11년 전 | 답변 수: 3 | 0
3
답변질문
??? Subscripted assignment dimension mismatch.
Getting the error in title, my code was: >> P=zeros(3,3); >> P(3,3)=p Any idea why? I'm guessing I need to assign p to ...
거의 11년 전 | 답변 수: 2 | 0
