Question

Multi-precision linear programming

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

bijna 3 jaar ago | 2 answers | 0

Answered

strange power .^ operator behaviour

Very interesting description of the integer power problem: http://szhorvat.net/pelican/fast-computation-of-powers.html

strange power .^ operator behaviour

Very interesting description of the integer power problem: http://szhorvat.net/pelican/fast-computation-of-powers.html

ongeveer 3 jaar ago | 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....

ongeveer 3 jaar ago | 2 answers | 0

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

ongeveer 3 jaar ago | 1 answer | 0

Answered

matchpairs function input parameter costUnmatched

I propose the following costUnmatched input parameter estimation for given Cost matrix: costUnmatched = max(size(Cost)) * max(C...

matchpairs function input parameter costUnmatched

I propose the following costUnmatched input parameter estimation for given Cost matrix: costUnmatched = max(size(Cost)) * max(C...

ongeveer 3 jaar ago | 0

| accepted

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

ongeveer 3 jaar ago | 1 answer | 0

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

ongeveer 3 jaar ago | 1 answer | 0

Answered

"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.'));

"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.'));

ongeveer 3 jaar ago | 0

| accepted

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

ongeveer 3 jaar ago | 1 answer | 0

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

ongeveer 3 jaar ago | 0 answers | 0

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

ongeveer 3 jaar ago | 0 answers | 0

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

meer dan 3 jaar ago | 1 answer | 0

Question

symbolic function with specific properties

I need to implement the symbolic function E(m(x)), where x = [x1, ..., xN] are symbolic variables, with the folowing property: ...

meer dan 3 jaar ago | 0 answers | 0

Answered

Check if I have done everything right

Your riemann function is completely wrong! Try this: function [integral] = riemann(x) integral = sum(calc...

Check if I have done everything right

Your riemann function is completely wrong! Try this: function [integral] = riemann(x) integral = sum(calc...

meer dan 3 jaar ago | 0

Answered

Randomly sorting rows while keeping column relationships the same

Apermrows = A(randperm(size(A,1)),:)

Randomly sorting rows while keeping column relationships the same

Apermrows = A(randperm(size(A,1)),:)

meer dan 3 jaar ago | 4

| accepted

Answered

running functions in multiple instances

You need to run three function on two matlab instances simultaneously? If yes, so open two separate instances of Matlab and run...

running functions in multiple instances

You need to run three function on two matlab instances simultaneously? If yes, so open two separate instances of Matlab and run...

meer dan 3 jaar ago | 1

Answered

Does Matlab support GTX 1660 graphics card?

Definitely yes!!! Did you install the proper nvidia driver on your system?

Does Matlab support GTX 1660 graphics card?

Definitely yes!!! Did you install the proper nvidia driver on your system?

meer dan 3 jaar ago | 0

| accepted

Question

ranking of vector with non-unique elements

I need to perform fast ranking of the vector with non-unique elements, like in the following example: F = [10.1 31.0 20.5 20.5 ...

meer dan 3 jaar ago | 1 answer | 0

Question

vector of integers modification

I have vector of positive integers which I need to modify into vector of consecutive integers with the same ordering. Example: ...

meer dan 3 jaar ago | 1 answer | 0

Question

vectorised code is terribly slower

Why is the vectorized version of simple local maxima detection code significantly slower (~2-3 times) than its for-loop version?...

meer dan 3 jaar ago | 0 answers | 0

Question

ischange in stream or moving window regime

I would like to compute change points (or linearlly segmented signal) from input data stream via moving window. Is there any eff...

meer dan 3 jaar ago | 0 answers | 0

Answered

Is I5 9400f processor is sufficient for deep learning, performing models,Monte Carlo simulation and other heavy works on Matlab

All MC methods are in general extremely CPU consuming. So, soon or later you always reach limits of your computer. From this poi...

Is I5 9400f processor is sufficient for deep learning, performing models,Monte Carlo simulation and other heavy works on Matlab

All MC methods are in general extremely CPU consuming. So, soon or later you always reach limits of your computer. From this poi...

meer dan 3 jaar ago | 1

| accepted

Answered

Replace elements in binary matrix

% B original binary matrix % B_ new binary matrix B_ = ~B;

Replace elements in binary matrix

% B original binary matrix % B_ new binary matrix B_ = ~B;

meer dan 3 jaar ago | 0

| accepted

Question

specific assignments of vector items

I am looking for suitable algorithm to solve the following problem: For vector v (Nx1, double, single) I need to find assigment...

bijna 4 jaar ago | 0 answers | 0

Answered

elimination of conscutive regions (generalization: ones with zeros between)

I am still looking for better (faster) solution. Any idea how to improve so far best solution: A = [1 -1 0; ...

elimination of conscutive regions (generalization: ones with zeros between)

I am still looking for better (faster) solution. Any idea how to improve so far best solution: A = [1 -1 0; ...

meer dan 4 jaar ago | 1

Question

elimination of conscutive regions (generalization: ones with zeros between)

I need effectively eliminate (by zeroing) the consecutive "1's" between "-1's" and start/end of column at each column of matrix ...

meer dan 4 jaar ago | 3 answers | 0

Answered

elimination of consecutive regions

good idea (only 1D) is <https://www.mathworks.com/matlabcentral/answers/293926-how-do-i-find-4-or-more-consecutive-zeros-and-rep...

elimination of consecutive regions

good idea (only 1D) is <https://www.mathworks.com/matlabcentral/answers/293926-how-do-i-find-4-or-more-consecutive-zeros-and-rep...

meer dan 4 jaar ago | 0

Question

elimination of consecutive regions

I need to effectively eliminate consecutive regions in vector "a" or better in rows/columns of matrix "A" with length of separat...

meer dan 4 jaar ago | 3 answers | 0

Question

how to robustly estimate low and up envelope of signal with trend, few level constant steps and noise

I am looking for robust estimation method of low and up envelope of the signal consisting from smooth trend component, constant ...

meer dan 4 jaar ago | 1 answer | 0

Question

different speed of ODE benchmark with and without MATLAB gui

When I ran matlab benchmark on Linux at MATLAB GUI and at MATLAB command line (without gui) I get the different speed of ODE ben...

meer dan 4 jaar ago | 0 answers | 0