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

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

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

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

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

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

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

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

4 years ago | 1 answer | 0

1

answer