Community Profile

Contact

Top 10% contributor

does anyone know?

0

Answered 8 months ago

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...

3 Answers

Asked 2 years ago

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(:,...

Answered 2 years ago

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, ...

Thank you very much Cedric, you are a genius and super kind!

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...

2 Answers

Asked 3 months ago

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...

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...

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...

Hi, I tried to enable parpool in MATLAB 2014a, it gives following message Error using parpool (line 99) The operation must mod...

1 Answers

Asked 1 year ago

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}...

Hi, everyone I am currently constructing a very large sparse square matrix which is made by several smaller sparse matrices, ...

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...

Hi, everyone I need to save .fig file as .pdf file. Previously, I used command set(gcf,'PaperOrientation','landscape'); s...

Asked 8 months ago

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...

0 Answers