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...
9 years 前 | 2 个回答 | 0
2
个回答提问
Stationary distribution for a 50x50 ??!
Hi. How would one find a stationary distribution for a 50x50 transition matrix using Matlab? Thanks!
9 years 前 | 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 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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....
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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 ...
10 years 前 | 2 个回答 | 0