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)),:)

más de 2 años ago | 3

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

más de 2 años 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?

más de 2 años 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 ...

más de 2 años 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: ...

más de 2 años 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?...

más de 2 años 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...

más de 2 años 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...

casi 3 años 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;

casi 3 años 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...

alrededor de 3 años 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; ...

más de 3 años 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 ...

más de 3 años 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...

más de 3 años 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...

más de 3 años 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 ...

más de 3 años 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...

casi 4 años ago | 0 answers | 0

Answered

Incompatible gcc version with mex

Frankly speaking I do not understand why TMW choose the "compatible" compiler version on Linux so terribly. On many distribution...

Incompatible gcc version with mex

Frankly speaking I do not understand why TMW choose the "compatible" compiler version on Linux so terribly. On many distribution...

casi 4 años ago | 0

Question

add limit lines to the gplotmatrix figure

How to add to each subplot of gplotmatrix figure (gplotmatrix(x,[],group)) four separate lines corresponding to the two limits v...

alrededor de 4 años ago | 0 answers | 0

Answered

find indices of row subsets

So far best solution: function ind = item2ind_new(item,t) t = t(:); [m,n] = size(item); mct = max(accumarray(t,1))...

find indices of row subsets

So far best solution: function ind = item2ind_new(item,t) t = t(:); [m,n] = size(item); mct = max(accumarray(t,1))...

alrededor de 4 años ago | 0

| accepted

Question

find indices of row subsets

I am trying to find vectorized matlab function ind = item2ind(item,t) to solve following problem: I have a list of row vectors ...

alrededor de 4 años ago | 3 answers | 0

Question

speedup dsearchn for large data set

I am looking for significant speed up of dsearchn function in a case of large input data k = dsearchn(X,XI) where is no...

alrededor de 4 años ago | 1 answer | 0

Answered

How can i find the equation of a fitted curve line in the curve fitting tool?

Your problem is already solved. When you are able to plot regression line you must know parameters k and q of line equation y = ...

How can i find the equation of a fitted curve line in the curve fitting tool?

Your problem is already solved. When you are able to plot regression line you must know parameters k and q of line equation y = ...

más de 4 años ago | 0

Answered

integer strings decoding ... speed optimization

Probably fastest and simplest solution, I found so far ... using latest new Matlab (>= R2016b) features, see function insertBefo...

integer strings decoding ... speed optimization

Probably fastest and simplest solution, I found so far ... using latest new Matlab (>= R2016b) features, see function insertBefo...

más de 4 años ago | 0

| accepted

Answered

How to find water vapour density for gaspl

Just try simple googling with the following keywords: water, wapour, density, table I hope you smart enough to find something...

How to find water vapour density for gaspl

Just try simple googling with the following keywords: water, wapour, density, table I hope you smart enough to find something...

más de 4 años ago | 0

Answered

Error in implemented function

The double precision (default numerical values class in Matlab) is not enough for this kind of computation!!! You need to use s...

Error in implemented function

The double precision (default numerical values class in Matlab) is not enough for this kind of computation!!! You need to use s...

más de 4 años ago | 2

| accepted

Answered

Function calculates wrong value

See ma answer here: <https://www.mathworks.com/matlabcentral/answers/366977-error-in-implemented-function link>

Function calculates wrong value

See ma answer here: <https://www.mathworks.com/matlabcentral/answers/366977-error-in-implemented-function link>

más de 4 años ago | 0

| accepted

Question

integer strings decoding ... speed optimization

I have the following problem: I need decode integer sequences "c" to char string messages "m" by following association: ...

más de 4 años ago | 2 answers | 0

Answered

how to create symbolic function?

function Z=symZ(N,Thetas,Ndigit) Thetas = sym(Thetas); Zsym = prod((1 - exp(-(N:-1:2).*Thetas))./(1 - exp(-Thetas)),2)...

how to create symbolic function?

function Z=symZ(N,Thetas,Ndigit) Thetas = sym(Thetas); Zsym = prod((1 - exp(-(N:-1:2).*Thetas))./(1 - exp(-Thetas)),2)...

más de 4 años ago | 0

| accepted

Question

how to create symbolic function?

I need to transform the following function to the symbolic form to evaluate it with arbitrary precision. Z(N,Thetas) = prod((...

más de 4 años ago | 2 answers | 0

Question

Permutations Inversions Counting ... speed up

Hi, this is my code for permutation inversions counting. Any idea how to optimize it to get some additional speedup for large se...

más de 4 años ago | 1 answer | 0