Feeds
質問
The most efficient way to add a new column or new row to a sparse matrix
Hi, suppose I have a large scale sparse matrix A, i.e. size(A)=[100k,10k]. I am wondering, what is the most efficient way to app...
約7年 前 | 2 件の回答 | 0
2
回答質問
Which Techniques that ARIMA is using for estimating the AR and MA parameters?
Hi, Does anyone know that which techniques the ARIMA command is using for estimating the AR and MA parameters? Can anyone give m...
約8年 前 | 0 件の回答 | 0
0
回答質問
Combine cell array with contant matrices
Hi everyone, Suppose I have a cell array A{1} A{2} A{3} ... A{n}, can I create a new cell array A_{1} A_{2} A_{3} ... A_{n}...
約8年 前 | 2 件の回答 | 0
2
回答質問
Question about choosing an initial state error covariance for Kalman filter
Hi Everyone, I have a Kalman filter code from internet, which estimates states of following state space system: x(k+1)= A ...
約8年 前 | 0 件の回答 | 0
0
回答質問
Creat a positive definite matrix, which way is better?
Hi everyone, Suppose I have a positive definite matrix P and a non-singular matrix A, I realised there is a small numerical d...
8年以上 前 | 1 件の回答 | 1
1
回答質問
How to create a square matrix with consecutive numbers on each row?
Hi everyone, Given a vector i.e. n=[1 12 25 78], is there any way to create a matrix A, such that A=[ 1 2 3 4; 11 1...
約9年 前 | 2 件の回答 | 0
2
回答質問
Problem of saving .fig file as .pdf file
Hi, everyone I need to save .fig file as .pdf file. Previously, I used command set(gcf,'PaperOrientation','landscape'); s...
9年以上 前 | 1 件の回答 | 0
1
回答質問
MATLAB 2014a cannot enable parpool
Hi, I tried to enable parpool in MATLAB 2014a, it gives following message Error using parpool (line 99) The operation must mod...
約10年 前 | 1 件の回答 | 0
1
回答質問
How to construct this matrix without loop?
Hi, everyone: suppose I have a vector x=[a b c d e f g h ... z]. Is it possible to construct a matrix such that: X=[a b c...
11年弱 前 | 2 件の回答 | 0
2
回答質問
How to construct this vector without loop?
Hi, everyone: I was wondering, is it possible to construct following vector without for loop? A=[1 2 3 1 2 3 4 5 6 1 2 3 4...
11年弱 前 | 3 件の回答 | 0
3
回答質問
Construct product of matrices without for loop
Hi, everyone: Suppose A is a 2 by 2 by N matrix, is it possible to construct a matrix B, such that: B=[Prod(A)_1^{N-n}...
約11年 前 | 1 件の回答 | 0
1
回答回答済み
Construct Power of Matrix without for loop
Thanks very much! Do you know if A is a 2 by 2 by N matrix, can I use "arrayfun" or any other way to do: B=[A(:,:,1), A(:,...
Construct Power of Matrix without for loop
Thanks very much! Do you know if A is a 2 by 2 by N matrix, can I use "arrayfun" or any other way to do: B=[A(:,:,1), A(:,...
約11年 前 | 0
質問
Construct Power of Matrix without for loop
Hi, everyone: Suppose I have a 2 by 2 matrix A, if I want construct a larger matrix B that is defined as: B=[A, A^2, A^3, ...
約11年 前 | 3 件の回答 | 0
3
回答質問
Positive Semi-definite Matrix Problem
Suppose I have a large M by N dense matrix C, which is not full rank, when I do the calculation A=C'*C, matrix A should be a pos...
約11年 前 | 2 件の回答 | 0
2
回答質問
How to parallel run 2 different functions?
Hi, everyone: Suppose I have two functions called P2 and P3, each function will run N times using for-loop and P2(t=k) requir...
11年以上 前 | 0 件の回答 | 0
0
回答回答済み
How to transfer a sparse matrix into a block diagnal matrix efficiently?
Thank you very much Cedric, you are a genius and super kind!
How to transfer a sparse matrix into a block diagnal matrix efficiently?
Thank you very much Cedric, you are a genius and super kind!
11年以上 前 | 0
質問
How to transfer a sparse matrix into a block diagnal matrix efficiently?
Hi, Everyone: Suppose I have a very large M*N sparse matrix A, where M=K*N, I need to equally split it into K N*N matrices an...
11年以上 前 | 2 件の回答 | 0
2
回答質問
Large Sparse Matrix Summation
Hi, Everyone: Suppose I have a very large M*N sparse matrix A, where M=K*N, I need to equally split it into K N*N matrices a...
11年以上 前 | 2 件の回答 | 0
2
回答質問
Construct a large sparse matrix
Hi, everyone I am currently constructing a very large sparse square matrix which is made by several smaller sparse matrices, ...
11年以上 前 | 1 件の回答 | 0