Feeds
질문
How to accelerate the running speed of this code for calculate a matrix?
function [ M ] = fun(X,A,B) %% Calculate M from X %% the size of X is A*B M = zeros(A,B); for a = 1:A Z = X...
13일 전 | 답변 수: 0 | 0
0
답변질문
How to fastly calculate this real number matrix manipulation?
I have a matrix with dimensional . I want to calculate a matrix with the same dimension as . The element of is calculated as ...
13일 전 | 답변 수: 1 | 0
1
답변질문
Calculation with three dimensional matrices
I want to calculate a vector , with each element defined as follows , where is the set of dimensional vector, and is also t...
대략 2개월 전 | 답변 수: 2 | 0
2
답변질문
How to fastly generate a series of complex Gaussian vectors under given covariance matrix Q ?
I have a covariance matrix , which is complex positive semidefinite and its dimension is . Now i want to generate column vector...
3개월 전 | 답변 수: 1 | 0
1
답변질문
How to rewrite this high dimensional matrix calculation
Here is the code: X = randn(A,B,C); Z = zeros(A,B,A,B,C); for a=1:A for b=1:B Z(a,b,:,:,:) = X - X(a,b,:); ...
5개월 전 | 답변 수: 2 | 0
2
답변질문
How to accelerate the running speed of this code?
function [ S ] = fun(X,A,B,C) %% obtain S from X %% the size of X is A*B*C S = zeros(A,B,C); for a = 1:A fo...
5개월 전 | 답변 수: 1 | 0
1
답변질문
A numerical calculation problem leading to Inf or NaN in matlab
I want to calculate the exact value of , where and is a very large positive number. Obviously, we have the bound ,and therefor...
8개월 전 | 답변 수: 2 | 0
2
답변질문
How to fastly calculate this matrix operation
A matrix is a dimensional matrix, is a dimensional vector, is a dimensional matrix, is a constant. How to fastly calcula...
8개월 전 | 답변 수: 1 | 0
1
답변질문
The product of a vector and a matrix
I have a vector A = and a matrix X = , where is a M-dimensional row vector. Does matlab have an operator that directly give m...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Matlab solver for unconstrained convex optimization
I have a large scale unconstrained convex optimization problem as follows min , where and are N-dimensional vectors, is a sc...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Optimization problem using fminunc
I have an optimization problem where x is a N-dimensional vector need to be optimized and a1,...,a5 are parameters. I have w...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to efficiently calculate a weighted sum of 3 dimensional matrix through a vector in matlab
A is a 3 dimensional matrix (M*N*K), b is a vector with length K. I need to calculate , which is a 2 dimensional matrix (M*N)....
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
quadprog is too slow for a convex unconstrained quadratic problem
My algorithm contains solving a unconstrained quadratic problem. f(x) = 1/2*x'*A*x+b'*x, where A is a positive semidefinite matr...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
CVX optimization of semidefinite relaxation (SDR) with complex matrix
I need to optimize the following semidefinite relaxation problem Here is my code with CVX tool where N is the size of matr...
2년 초과 전 | 답변 수: 1 | 0