Community Profile

photo

Xiaohan Du


2016년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


How to reduce the space among columns in command window?
Hi all, I'd like to display a 31 by 31 matrix in command window, MATLAB leaves a lot of space among columns like this: ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to sum same size cell blocks?
Hi all, I have a cell which contains same size matrices, like this: inpt = [13x13 double] [13x13 double] ...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to use loop in Anonymous functions?
Hi all, I have a 2 by 2 cell 'dblk' like this: dblk = [4x4 double] [4x4 double] [4x4 double] [...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Negative eigenvalues with frequency analysis related to ABAQUS
Hi all, I have a simple cantilever beam model with triangular elements, degrees of freedom = 308; there are 2 holes on the be...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Improve efficiency of backslash operator for sparse matrices
Hi all, I have a problem which needs to perform x = A\b for hundreds of times, where A is a sparse matrix of roughly 1500*150...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


An efficient Lagrange interpolation algorithm for multi-variate problems
Hi all, I'd like to perform a multi-variate Lagrange interpolation for matrices. Here is a simple example: Imagine there a...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to pass structure data into parfor loop
Hi all, I have a simple parfor test code like this: inpt.a1 = rand(100); inpt.a2 = rand(100); parfor i = 1...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to gather results from a parfor loop?
Hi all, I'm new to parallel computing in MATLAB, please forgive my simple question. I have a test code like this, while I'...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to carry index within a function?
Hi all, This is a very long question ;-) I have a function which sort a grid to cell blocks, the function is: functio...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to 'carry' matrix index with matrix operations
Hi all, I'd like to keep the matrix index while carrying out matrix operations, for example: a = randi([1 20], 1, 5)'; ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to avoid text overlapping automatically in plot3?
Hello guys, I have a few points in 3d space indicating the reduction of error. As you can see from the plot there are some po...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


All combination for a cell structure?
Hi all, I'd like to get all combinations for all elements in a cell structure. For example, var = rand(20, 3); no = 5...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Can I use mat2cell to divide a long column vector into several equal sized vectors?
Hello, I see the use of mat2cell, e.g. a = mat2cell(b, [m n], [x y z]). This means I'll have to assign value to m and n. ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


All combinations of matrix elements?
Hello, I'd like to find all combinations of 2 elements in a matrix. For example, a = [1:4; 5:8; 9:12]', the result should...

7년 초과 전 | 답변 수: 2 | 0

2

답변