Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 1

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 2 réponses | 2

2

réponses

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 1

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 7 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse