질문


How to set the shadow in the trimesh figure?
I am trying to display surface mesh of the brain in Matlab. I used the delaunayTriangulation object and trimesh function. I need...

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

0

답변

질문


How to accelerate the process of `find` in large for loop ?
I have two arrays A,B. I want to find the index of every element of B in A. I'm sure that every element of B must appears in A t...

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

2

답변

질문


Problem with using `reshape` to reorder the matrix.
I am trying to reorder my matrix "by block" in columns. See the code below, it is a mini case of my problem. It only has 2 ...

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

2

답변

질문


Is it possible to accelerate the speed of saving data into files with parallel way?
I am trying to save data to files, i.e. txt file. The speed is very low. This step takes almost 80% time over my whole script. M...

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

2

답변

질문


Is there faster way to apply `det` function along the third dimension?
I am trying to calculate the det of many 4*4 matrix. I store the data in a matrix with shape 4*4*n. (n =4000000). I am using the...

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

1

답변

질문


How to get the diagonal point pairs of a 2D rectangle?
I am trying to find the diagonal point pair of an arbitrary input rectangle. i.e. A = [1,1]; B = [-1,-1]; C = [1,-1]; D = [-...

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

1

답변

질문


How to make delaunayTriangulation object from points and connectivity in 3D?
I am trying the tetramesh function. Before I plot the tetraheron mesh, I need to store the mesh in an delaunayTriangulation obje...

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

1

답변

질문


Could `distributed array` accelerate the speed of solving Linear Equations with Iterative Methods?
I am using Iterative Methods, like preconditioned conjugate gradients to solve large sparse linear equations(800,000*800,000). I...

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

1

답변

질문


How to install pardiso on matlab with `pthread` on windows?
I am trying to use PARDISO in Matlab on windows. I notice that some compile options may not availible for windows system. This i...

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

0

답변

질문


Is it possible to rewrite these equation set to matrix form?
I am dealing with some equation set to calculate coefficients b. The equation set is as below. The x y z are the inputs. b is ou...

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

1

답변

질문


How to `subs` with both scalar variable and arrays?
I am evaluating some expression with subs. I need to input a scalar variable and an array. But it always give errors as I substi...

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

1

답변

질문


How to calculate the syms with variable has the same name?
Hello, I am writing a function with an augument to receive some expression, like ' a>0', ' b<0' and 'a>0&b<0'. There are variab...

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

1

답변

질문


Is it neccessary to define the ChunkSize and Filters when using h5read?
I am using h5read to read some data from hdf5 file. In the Matlab examples, the properties, "ChunkSize" and "Filters", are set a...

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

1

답변

질문


Could I modify the string position in the"TextScatter3" function ?
I am using TextScatter3 function to descript my data points. But my add-on mesh block some of them. I need to define the positio...

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

1

답변

질문


How to convert solution of syms array to a normal array?
I am solving a series function, e.g. . I want to get the obviously. For my codes, b = 2; y = [1,2,3,4]; syms x [1 4] S =...

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

1

답변

질문


Does "live script" support "rotate3d" in the mlx file?
Could I rotate my 3D figure in the live script as in a figure? I ran rotate3d but it seems no change. My matlab version is ...

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

1

답변

질문


Is there any shortcut for go back to previous folder?
Sometimes I need to navigate among some folders. I need the "go back" in a convenient way, like "cd -". But, this is not support...

4년 초과 전 | 답변 수: 2 | 2

2

답변

질문


How to rotate 3d graph freely by x or y axis?
Hi, I am trying to view some 3d geometric surface file. I found a problem that I can't rotate the graph total freely. For exa...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to change the Matlab panel color?
I found the color setting for editor and command line in the preference. But as for the background of panel of tools(file, varia...

대략 5년 전 | 답변 수: 1 | 1

1

답변

질문


Why is vectorization faster than the parallel computing?
I am trying to speed my code, which processing some big geometry surface. From scanning on the website, I found 2 way to optimiz...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to cite the row of the matrix by vectorization?
Hi, I have a problem in speeding my code. In my code, there is a step as below, a=repmat(1:6,3,1)'; index=[1:3;2:4]; res...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to get which part is on the direction of a ray on 2d image?
Hi, I have several small parts in the binary image. Besides, I define a ray based on two points. I want to get which small par...

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

0

답변

질문


How to remove small connected parts in the image without smoothing the others?
Hi, I would like to remove the "triangle protuberance" in the belowing image, but I don't want to change the other part of the...

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

1

답변

질문


How to check a triangle surface mesh is closed?
Hi, I would like to check if a surface triangle mesh is closed or not? "Close" means like the surf of a ball, as "not close" me...

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

1

답변

질문


Problem of using "assignin" during figure callbacks
Hi every member, Overall, I want to get a output from a figure callback after the figure closed. I am doing it by using "assi...

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

2

답변

질문


How to make a "local global " variable?
Hello, I would like to share some variables among some functions. It is inconvenience to make them all as arguments, because th...

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

1

답변

질문


Problem with splitting taskbar icon of two Matlab process.
My pc system is win7. My Matlab version is 2015b. For many times, I have to launch two Matlab process simultaneously. When I min...

거의 7년 전 | 답변 수: 0 | 0

0

답변

질문


Error using fmincon with nested function.
First I have a nested function test1 calling test0 as described following, function y = test0(x) y=x^2 end fun...

대략 8년 전 | 답변 수: 1 | 0

1

답변