Réponse apportée
symbolic integration depends on different equivalent forms of function
Simple <https://www.mathworks.com/matlabcentral/answers/507683-why-does-x-x-y-dy-give-a-x-3-component#answer_418071 solution> to...

plus de 3 ans il y a | 0

Question


symbolic integration depends on different equivalent forms of function
I performed the following equaivalent symbolic integrations: syms x y A = int(x+y,x); A_ = expand(A); % just expanded...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


multi array vectorization problem (reformulated)
How to vectorize (for-loop elimination) the following code? % init A = [ -0.8013 -0.4981; -0.2278 -0.9009]; t = 0:0.01:...

plus de 3 ans il y a | 3 réponses | 0

3

réponses

Question


How to formulate linear control problem for Stochastic Differential Equation solvers
I have the following linear control problem: x'(t) = A*x(t) + B*u(t) y(t) = C*x(t) + D*u(t) where x(t0) = x0 ... initial co...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Most effective way to solve nonhomogeneous linear ODE problem
What is the most effective way to solve following "small" linear 1st order ODEs problem: x'(t) = Ax(t) + Bu(t) x(t0) = x0 whe...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Use Filter Constants to Hard Code Filter
Probably fully functional naive version of filter: function [Y, z] = myFilter(b, a, X, z) % a and b should have same order...

presque 4 ans il y a | 0

Question


Algorithm for homogenization of non-equidistant 1-D grid
I am looking for proper algorithm for so called "delta-homogenization" of 1-D non-equidistant grid. Definition: The sorted mono...

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


Matlab is significantly slower than Julia on simple evaluation
More and more frequently some people open the question about speed comparison between Matlab and Julia. The main Julia developer...

environ 4 ans il y a | 2 réponses | 3

2

réponses

Question


expm function problem for stiff matrix
For very specific matrix A: a = -1e20; b = eps; c = 1; A = [a,0,b;0,c,0;-b,0,a]; disp('A:'), disp(num2str(A)) A: ...

plus de 4 ans il y a | 3 réponses | 1

3

réponses

Réponse apportée
histogram of signals gaps width
This is much more simple Matlab implementation but still not optimal (+ not vectorized): signals = [1.1 NaN NaN NaN -1.4 NaN 8...

plus de 4 ans il y a | 0

Question


histogram of signals gaps width
I am looking for algorithm (effective + vectorized) how to find histogram of gaps (NaN) width in the following manner: signals ...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
how to install supported CUDA Toolkit 10.2 on Ubuntu 20.04 LTS Linux
After thorough discussion with Matlab support and several relevant forums (Ubuntu, NVIDIA, ...) the final result is as follows: ...

environ 5 ans il y a | 0

| A accepté

Question


how to install supported CUDA Toolkit 10.2 on Ubuntu 20.04 LTS Linux
As you can see here, the CUDA Toolkit currently suported by R2020b is 10.2. But, as you can see here , the only supported versio...

environ 5 ans il y a | 5 réponses | 1

5

réponses

Question


possible speed up of the ischange function by parfor
I completely understand, that any modifications of standard MATLAB functions are very dangerous, but I found the possibility how...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


simple bernoulli sampler function
I am trying to find replacement of binornd function by standard MATLAB code. Is the following command r = binornd(1,p,sz) exa...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
What frustrates you about MATLAB? #2
Do you really think, that these threads are read by MTW people??? I am not sure!!! TMW definitely choose the commercial way of ...

plus de 5 ans il y a | 0

Réponse apportée
2018b gcc support on Ubuntu 18.04
May be this is possible solution for you: https://www.mathworks.com/matlabcentral/answers/407502-incompatible-gcc-version-with-m...

plus de 5 ans il y a | 0

Réponse apportée
Multi-precision linear programming
One of possible way (so far only known to me) how to solve directly and eficiently LP problems with full multi-precision support...

plus de 5 ans il y a | 0

| A accepté

Question


Multi-precision linear programming
I need to solve specific linear programming problem which is based on Mallows permutation probability distribution. This exponen...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
strange power .^ operator behaviour
Very interesting description of the integer power problem: http://szhorvat.net/pelican/fast-computation-of-powers.html

presque 6 ans il y a | 0

Question


strange power .^ operator behaviour
Take a look on this FEX. For vectors of length greater than >~100 elements it is more efficient to use multiple x.^2 than x....

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


incremental training (large data set)
Is the following approach suitable for NN incremental learning in general? for bn = 1:num_batches inputs = <get batch ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
matchpairs function input parameter costUnmatched
I propose the following costUnmatched input parameter estimation for given Cost matrix: costUnmatched = max(size(Cost)) * max(C...

presque 6 ans il y a | 0

| A accepté

Question


matchpairs function input parameter costUnmatched
How to choose proper value of parameter costUnmatched (matchpairs function) to get requested number of matches. Especially in a...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


MATLAB Answer need better policy
Just one remark regarding current situation on MATLAB Answer portal: A lot of people (including highly trustworthy) aswers on m...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
"symmetrical" rows of matrix
I present the best solution so far: d = ~pdist2(A(:,1:end/2), A(:,end/2+1:end)); [iA1, iA2] = find(triu(d & d.'));

presque 6 ans il y a | 0

| A accepté

Question


"symmetrical" rows of matrix
I have integer matrix A (nA x c) with even number of columns (e.g. mod(c,2) = 0) and unique rows. How to effectivelly (by spe...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


what is recommended way to apply incremental ANN learning
I would like to apply ANN for approximation (regression) of the larga data set of points {x_i, y_i}, where x_i are input vectors...

presque 6 ans il y a | 1 réponse | 0

0

réponse

Question


MATLAB Connector not running
I am using Matlab Connector on Linux (LinuxMint 19.3 based on Ubuntu 18.04). When I start MATLAB connector (v 1.4.0.6) and the...

presque 6 ans il y a | 1 réponse | 0

0

réponse

Question


how can I effectively compute expected value by histogram approximation of probability desnsity function
What is the proper way to compute effectively (fast) the expected value E(x) in a case when I have approximation of probability ...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Charger plus