Community Profile

photo

Bruno Luong


Last seen: Today 2009 以来アクティブ

Statistics

All
  • 12 Month Streak
  • Revival Level 1
  • Speed Demon
  • Solver
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Thankful Level 2
  • Guiding Light
  • Knowledgeable Level 4

バッジを表示

Content Feed

表示方法

回答済み
Unexpected, unexplained, difference between Matrix linear index and row and column subscripts
Try to change for i=size(P,1)*size(P,2) to for i=1:size(P,1)*size(P,2) You light also learn to use debugger so such task.

約20時間 前 | 1

| 採用済み

回答済み
How to compute cholesky to all slice of a tensor?
For real semi definite matrices, you can take a look at https://www.mathworks.com/matlabcentral/fileexchange/37515-mmx Unfortun...

1日 前 | 0

回答済み
How do I swap 2 rows of a cell array?
C([2 3],:) = C([3 2],:);

6日 前 | 0

回答済み
how to find the nearest value?
A=[ 1 2 3 4 5 6] B=[6.1 5.1 4.1 3.1 2.1 1.1] position_A=[10 20 30 40 50 60] loc = interp1(A,1:length(A),B,'nearest'...

6日 前 | 0

| 採用済み

回答済み
I have matrix A and I need to find (e^(At)) where t is the sampling time. How to find that? Also what is the difference between exp(A) and expm(A)?
Math notation e^(At) is computed in MATLAB with expm(A*t) or equivalently expm(A)^t

7日 前 | 0

回答済み
When the error comes, how to return a flag but not stop the process
You might learn about try / catch

7日 前 | 0

| 採用済み

回答済み
Generate all possible combinations summing up to a given number
You can use this file exchange https://www.mathworks.com/matlabcentral/fileexchange/17818-all-permutations-of-integers-with-sum...

7日 前 | 0

回答済み
Speed up comparing two arrays and write into new array
For simplification I use numerical data for Colors_Res/Assoc_Colors adatp tou your data type clear % Dummy test data coordInd...

8日 前 | 0

| 採用済み

回答済み
How to strrep only certain strings
x = {'e-.00085';'8.5e-4'} regexprep(x, '^e', '')

9日 前 | 0

| 採用済み

回答済み
MatlabR2019b standalone sharing
You need to have MATLAB compiler and they need to install the MCR.

16日 前 | 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...

16日 前 | 0

| 採用済み

回答済み
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...

23日 前 | 0

回答済み
Problem in using scatteredInterpolant
Use nearest method F = scatteredInterpolant(..., 'nearest')

23日 前 | 0

| 採用済み

回答済み
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...

24日 前 | 1

| 採用済み

回答済み
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 ...

25日 前 | 0

| 採用済み

回答済み
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

26日 前 | 0

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

約1ヶ月 前 | 0

| 採用済み

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

約1ヶ月 前 | 0

| 採用済み

質問


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

約1ヶ月 前 | 1 件の回答 | 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...

約2ヶ月 前 | 1

回答済み
Error using uitable in a figure, not uifigure
Sorry there is no workaround.

約2ヶ月 前 | 0

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

2ヶ月 前 | 0

| 採用済み

回答済み
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);

2ヶ月 前 | 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 ...

2ヶ月 前 | 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ヶ月 前 | 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,...

3ヶ月 前 | 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)

3ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 1

もっと読み込む