Question

Is there any better way for doing this specific "matrix multiplication"?

What I want to calculate is as follows: clc,clear all na = 1000; nb = 500; B = sprandn(na, nb, 0.1); C = sprandn(na, n...

2 years ago | 2 answers | 0

Question

Do we have an efficient way to do this matrix multiplication?

What I wanna do is just simple matrix multiplication of two matrix. I hope I can do this in a more efficient way. Here we have...

2 years ago | 1 answer | 0

Question

How can I do this operation fast and simply?

<</matlabcentral/answers/uploaded_files/138911/%EC%BA%A1%EC%B2%98.PNG>> I have a matrix [M], [N] having the shapes as in the ...

2 years ago | 1 answer | 0

Question

How can I use the function blkdiag without typing every single matrix?

I know we can construct a block diagonal matrix using the MATLAB function blkdiag. The way we use is out = blkdiag(a, b,...

2 years ago | 1 answer | 1

Question

Can I speed up this iterative ploting?

Hello. I need to plot a graph iteratively. (about 10000 times) One plot consists of a number of sub-plotting as follows. ...

2 years ago | 1 answer | 0

Question

How can i speed up this large matrix multiplications?

Hello. The purpose of my code is solving O.D.E. and in the function I need to do large matrix multiplication every single tim...

2 years ago | 1 answer | 0

Question

How can I do this 'Double integral having only one variable' fast?

Dear all, I have a function as follows: f(x) = integral(integral(g(x),0,x)*integral(h(x),0,x),a,b). Here, g(x) and h(x) are a...

3 years ago | 0 answers | 0

Question

How can I reduce the computation time of this matrix multiplication like calculation?

For example, we have arbitrary matrix A, B, and C. A = [1 2 3 3; 4 5 6 5; 7 8 9 9] B = [2 4 6 1; 6 9 0 6; 1 2 5 8] C = [2...

4 years ago | 1 answer | 0