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

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

2 years ago | 0 answers | 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...

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

2 years ago | 0

Submitted

Fast unique random permutations

Fast random sample (without replacement) from unique permutations of an integer vector

2 years ago | 1 download |

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

2 years 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))...

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

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

2 years 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 = ...

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

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

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

3 years 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>

3 years 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: ...

3 years 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)...

3 years 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((...

3 years ago | 1 answer | 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...

3 years ago | 1 answer | 0

Question

Again terrible problem with profiler

I am again facing to terrible profiler problem (under Matlab R2017b). I have two codes doing exactly identical computing (counti...

3 years ago | 0 answers | 0

Question

Permutations Cycles Counting ... speed up

Hi, this is my code for permutation cycles counting. Any idea how to vectorize it to get some additional speedup for large set o...

3 years ago | 4 answers | 0

Question

problem with symbolic expression

A have some troubles with conversion of character vector to symbolic expression under R2017a: % character vector e = '(...

3 years ago | 1 answer | 0

Question

mupad command calling from matlab produce wrong results

I need to evaluate mupad command "discont" from MATLAB. In Mupad notebook the result is correct and looks like: <</matlabcen...

3 years ago | 1 answer | 0

Answered

GPU Computing MacBook Pro (Retina 15'' mid 2014) force computer to use attached Intel iris GPU, give MATLAB access to entire 2GB Nvidia 750M

Your computer has only one Cuda GPU device, not two. Intel graphics is not Cuda enabled device. So, you cannot access to Intel g...

GPU Computing MacBook Pro (Retina 15'' mid 2014) force computer to use attached Intel iris GPU, give MATLAB access to entire 2GB Nvidia 750M

Your computer has only one Cuda GPU device, not two. Intel graphics is not Cuda enabled device. So, you cannot access to Intel g...

3 years ago | 0

Question

DSP questeion (filter design from estimated transfer function)

Is there any way how to design filter (a,b coeffs) from transfer function estimated by "tfestimate"?

3 years ago | 1 answer | 0

Answered

About plotting Pareto fontier

Pareto front is always represented by convex hypersurface. So, you can use every methods how to visualize surface in 3-D case.

About plotting Pareto fontier

Pareto front is always represented by convex hypersurface. So, you can use every methods how to visualize surface in 3-D case.

4 years ago | 0

Answered

Matlab function to compare 2 numbers

Just use function MinValue = min(a,b) That is all what you need.

Matlab function to compare 2 numbers

Just use function MinValue = min(a,b) That is all what you need.

4 years ago | 0

Answered

is MATLAB support AMD RADEON?

MATLAB use for GPU computing CUDA technology, which is supported only by NVIDIA cards.

is MATLAB support AMD RADEON?

MATLAB use for GPU computing CUDA technology, which is supported only by NVIDIA cards.

4 years ago | 2

Question

additional findchangepts function output

I have two questions regarding function "findchangepts" (DSP Toolbox): 1. How to effectively create additional output vector ...

4 years ago | 3 answers | 1

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

5 years ago