Question

Using the given code, how can I optimize a matrix to minimize a cost function?

Given S1, (1,K) vector, I want to optimize B (N,M) matrix to minimize the following cost function: sublect to: Where: S...

3 days ago | 0 answers | 0

Question

How to calculate the value of the vector A in equation AXA' = b?

If I have A*X*A' = b; where: A is a (1x2) unknown vector whose elements must be integers A' is the transpose of A, X is a...

2 months ago | 1 answer | 0

Question

Using the given code, how can I optimize a matrix to minimize a cost function?

Given S1, (1,K) vector, I want to optimize B (N,M) matrix to minimize the following cost function: Subject to: Where: S2 ...

2 months ago | 1 answer | 0

Question

How to compare between two surface plots in matlab?

A and B are two 2D matrices with dimensions (length(X), length(Y)) which are function of X and Y vectors. I plot A and B in a 3D...

3 months ago | 2 answers | 0

Question

How to determine the value of a matrix?

If , where is integer matrix, is integer matrix and is integer matrix. If I know the value of ( integer matrix) F = [1 ...

8 months ago | 1 answer | 0

Question

how to find the optimal value of a matrix that minimize a function?

I have a matrix which is a block diagonal matrix with dimensions , and each of its two block diagonal is vector. I want to fi...

11 months ago | 1 answer | 0

Question

How can I do Exhaustive search in matlab?

I have a function that depends on three variables x,y,z. I want to find the optimal values of these variables using exhaustive s...

1 year ago | 1 answer | 0

Question

3D matrix summation

If I have the following 3D matrices. How I sum every T(:,:,1) with its following T(:,:,2) to have 3 2D matrices. T(:,:,1) = ...

3 years ago | 1 answer | 0

Question

I want element (3,2) from a matrix with size (4,4) to try the values of the first column from another matrix with size (3,3) one by one and at each time produce the new matrix. How can I do this ?

For example: If I have matrix A and Matrix B: A = 7 4 1 4 5 6 3 6 9 B = ...

3 years ago | 1 answer | 0

Question

What's the solution?

For example: If I have matrix A and Matrix B: A = 7 4 1 4 5 6 3 6 9 >> B = ...

3 years ago | 1 answer | 0

Question

If each element of vector with size (1,3) takes one value of 4 discrete values. How can I obtain all possible combinations of this vector?

If each element of vector with size (1,3) takes one value of 4 discrete values [0 0.625 1.25 2.5]. How can I obtain all possible...

3 years ago | 1 answer | 0

Question

If each element of the 3D matrix takes one value of 4 discrete values. How can I obtain all possible combinations of this 3D matrix?

If each element of 3D matrix of dimensions (10,10,2) takes one value from this vector [0 0.625 1.25 2.5] . How can I obtain all ...

3 years ago | 1 answer | 0