Community Profile # Bruno Luong

Last seen: Today Active since 2009

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

MatlabR2019b standalone sharing
You need to have MATLAB compiler and they need to install the MCR.

6 Tage ago | 0

how to kill a process from Matlab
I don't know if it is matter but I always use PID to kill a process, not directly the image name. Here is my code function Kill...

6 Tage ago | 0

| accepted

Determine Camber and Thickness of a Airfoil - Given the xy coordinates
If you can tolerate some finite precision, you migh discretize the interior as b&w image, look for the skeleton https://www.mat...

13 Tage ago | 0

Problem in using scatteredInterpolant
Use nearest method F = scatteredInterpolant(..., 'nearest')

13 Tage ago | 0

| accepted

package matlab app without reveling source code
"Is there a way to package and install a MATLAB app in a way that the contents are not exposed?" In R2021b the compiler (MCC) i...

14 Tage ago | 1

| accepted

How to get the smallest value in submatrices
B=randi(9,10,2) [m,n] = size(B); k = 5; if mod(m,k) error('m must divisible by k'); end minsub = min(reshape(B,[m/k ...

15 Tage ago | 0

| accepted

extract roll pitch yaw rotation angles from 3D transform
See if you can find the formula your are looking for https://www.geometrictools.com/Documentation/EulerAngles.pdf

16 Tage ago | 0

R2021b: The Run Section tool in the Editor has been removed
It's still there

21 Tage ago | 0

| accepted

is it possible to know if an alert dialog box has opened in app designer app?(testing purposes)
Check out function ishandle

24 Tage ago | 0

| accepted

Question

Restriction of functions run under parfeval
I just see parfeval is available for R2021b allowing to run parallel function (in background) even without the parallel toolbox,...

24 Tage ago | 1 answer | 1

### 1

command to read all current pressed keyboard keys
This File Exchange works well for me Hebirobotics No toolbox is required and no need to open a figure() to catch the keypressed...

etwa ein Monat ago | 1

Error using uitable in a figure, not uifigure
Sorry there is no workaround.

etwa ein Monat ago | 0

Is version 2021a compatible with windows 10 home (version 21h1)?
Yes, it's my config at home.

etwa 2 Monate ago | 0

| accepted

Is there an efficient way to write a piecewise function ?
tempfun = @(x) interp1([0 T], A([1:end end]), x, 'previous'); temp = tempfun(whatever_query_t);

etwa 2 Monate ago | 0

Why does the speed of histcounts vary so much?
It's just an assumption but histcounts probably use binary search on finite edge values. The large last edge probably penalizes ...

etwa 2 Monate ago | 1

I have a complete undirected graph with labeled edge. is there any toolbox to apply TSP in such graph.
There are several submissions of TSP in file exchanges or if you have optimization toolbox https://www.mathworks.com/help/optim...

2 Monate ago | 0

How to find a vector multiple times in an array?
A = [1 3 4]; %x,y,z-coordinates - vector B = [2 3 4; 1 3 4; 5 5 6; 3 4 6; 1 3 4]; %array % which row match find(ismember(B,...

2 Monate ago | 1

Could anyone help me how to generate the matrix in the following manner as described below
hi=repelem((1:5)',100*(1:5)); r=ceil(rand(size(hi)).*hi)

2 Monate ago | 0

| accepted

Looking for a faster way of finding the first element larger than a given number in a sorted array
You might try k = discretize(r,b); if b(k) == r k = k+1; end

3 Monate ago | 0

How to calculate permutation powers
M= [ 1 2 3 4 5 6 7 8 9 10; 3 6 8 1 2 4 5 7 10 9] S=s...

3 Monate ago | 0

| accepted

Applying vectorization techniques to speedup the performance of dividing a 3D matrix by a 2D matrix
If you have C compilers the fatest methods are perhaps mmx and MultipleQR avaikable on FEX https://www.mathworks.com/matlabcent...

3 Monate ago | 1

Can I pass arguments to a @callbackFcn?
% Assuming operation,mode are defined % operation = ... % mode = ... configureCallback(s,"terminator",@(s,t) readSerialData(s...

3 Monate ago | 1

cell2mat too slow
Try cat(1, nodes.pose)

3 Monate ago | 0

| accepted

How can I call M fuctions in different thread in mex coding matlab and C++?
No you cannot. MATLAB will crash since many MATLAB functions are not thread safe.

3 Monate ago | 0

| accepted

How to quickly do Cholesky factorization for many small matrices?
It requires MEX, but it should be fast https://www.mathworks.com/matlabcentral/fileexchange/37515-mmx

3 Monate ago | 0

how to vectorize squared function
X=rand(3,10); Y=rand(4,10); L=rand(10); N=size(X,1); M=size(Y,1); XX=reshape(X,N,1,[]); YY=reshape(Y,1,M,[]); YX=reshap...

3 Monate ago | 0

Question

Trigger event for graphic handle object?
The function notify seems to be designed for user-define class. Is it possible to make it works on MATLAB graphic handle objects...

3 Monate ago | 0 answers | 2

### 0

Is it possible to make inactive some of lines?
Put "..." (without the quotes) in front of the lines you want to hide

3 Monate ago | 0