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

mer än 3 år ago | 0 answers | 0

0

answers

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 0 answers | 1

0

answers

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 2 answers | 2

2

answers

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 1

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

nästan 5 år ago | 0 answers | 0

0

answers

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

nästan 5 år ago | 1 answer | 0

1

answer

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

nästan 5 år ago | 1 answer | 0

1

answer

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

nästan 5 år ago | 2 answers | 0

2

answers

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

nästan 5 år ago | 1 answer | 0

1

answer

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

ungefär 6 år ago | 0 answers | 0

0

answers

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

mer än 7 år ago | 1 answer | 0

1

answer