回答済み
Finding face vertices of a polygon
If you have R2021a or later, there is a new method allcycles that can achieve the goal N = [... 5 12 5 11 6 8 ...

4年以上 前 | 0

| 採用済み

回答済み
How to return a uint64_t from a mex function?
https://www.mathworks.com/help/matlab/apiref/mxcreatenumericmatrix.html mxArray *A; A = mxCreateNumericMatrix(1, 1, mxUINT64_C...

4年以上 前 | 1

| 採用済み

回答済み
How exactly does MATLAB calculate a sum of array elements by its sum() function? Does it use any compensated summation algorithm such as Kahan?
According to my test it seems MATLAB does not sum by chunk when operating on vector, to ensure the result is consistent, i.e. no...

4年以上 前 | 0

回答済み
how can I use mexw32 files on my 64-bit matlab?
You cannot.

4年以上 前 | 0

回答済み
why evalin doesnt wotk in App Designer matlab 2017b?
You probably forget to populate APP_isc_n_gbxInp in the base workspace. I create a small app (attached) and evalin works just f...

4年以上 前 | 0

| 採用済み

回答済み
Error using mex No supported compiler was found.
These threads might be useful for you https://www.mathworks.com/matlabcentral/answers/864430-compiler-support-for-intel-oneapi-...

4年以上 前 | 0

| 採用済み

回答済み
Has QR [Q,R,E]=qr(X,0) changed? licols for extracting lin indep cols is not working
It seems working fine on random matrix (R2021b online server or my PC) X=randn(1000); [q,r,e] = qr(X,0); issorted(abs(diag(r)...

4年以上 前 | 0

回答済み
How can I perform large sparse matrix multiplication efficiently when one sparse matrix is block diagonal?
You might rethink of the storage of your data, such as this (tic/toc result obtained from run on TMW online server): I=1e4; J=...

4年以上 前 | 1

| 採用済み

回答済み
What is missing from MATLAB #2 - the next decade edition
Probably it breaks compatibility, but it would make functions/operators svd, *, ', .' dealing with n-d arrays similar to pagesvd...

4年以上 前 | 1

回答済み
Run two scripts simultaneously matlab
Somewhat possible with parfeval But I would agree with Jan, runing two Matlab sessions is perhaps easiest.

4年以上 前 | 1

回答済み
c++ programming.
In C++ the main function signature should be int main() The void argument is for C (not C++). Your code has illegal comma ","...

4年以上 前 | 1

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

4年以上 前 | 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...

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 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'...

4年以上 前 | 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

4年以上 前 | 0

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

4年以上 前 | 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...

4年以上 前 | 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...

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

| 採用済み

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

5年弱 前 | 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...

5年弱 前 | 1

| 採用済み

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

5年弱 前 | 0

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

5年弱 前 | 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...

5年弱 前 | 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 ...

5年弱 前 | 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

5年弱 前 | 0

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

5年弱 前 | 0

| 採用済み

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

5年弱 前 | 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,...

5年弱 前 | 1 件の回答 | 1

1

回答

さらに読み込む