Answered
Random Sampling of Repeated Numbers in an Array
p=randperm(length(Q)); [~,I]=unique(Q(p)); RandomSelect=p(I), % Q(RandomSelect) is equal to unique(Q)

8 years ago | 1

Answered
Avoid for loop: Looping through rows of m-by-n logical array
For older MATLAB version, this FEX might be useful <https://fr.mathworks.com/matlabcentral/fileexchange/24255-splitvec SplitVe...

8 years ago | 0

Question


mxCreateSharedDataCopy no longer supported in R2018a
This is an error message I got when compiling my C-mex file _Error using mex Function mxCreateSharedDataCopy not supported. ...

8 years ago | 4 answers | 4

4

answers

Answered
Which MATLAB operations/functions need speeding up?
*persistent* statement Not sure the reason (internal data hashing?) , but it is slow.

8 years ago | 0

Answered
Where is the MCRInstaller.exe for Matlab 2018a?
You need to download from the web, it's no longer come with the distribution. https://www.mathworks.com/products/compiler/mcr...

8 years ago | 0

| accepted

Answered
How do you index an array inside an array of structures?
sf2 = arrayfun(@(s) s.field(2), s)

8 years ago | 1

Answered
R2018a complex interleaved data is the new memory model
I have not noticed the change before reading this post, since all my MEX are still working in 2018a. I guess there is a conve...

8 years ago | 0

Submitted


mintersect(varargin)
Perform intersection of multiple numerical arrays

8 years ago | 2 downloads |

0.0 / 5

Answered
Insert efficiently elements into sorted array
The best way to insert/delete into a sorted array is ... not using array at all, but a more sophisticated data structure, e.g. r...

8 years ago | 0

Submitted


bsxcat(dim, varargin)
Concatenate two arrays along a specific dimension with auto expansion of singleton enabled.

9 years ago | 1 download |

5.0 / 5

Submitted


PlotColor
Plot curves with varying colors

9 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


featurememstats
feature('memstats') with structure output

9 years ago | 1 download |

0.0 / 5

Submitted


Min/Max selection
Search for k smallest or largest elements in the array

10 years ago | 1 download |

4.73684 / 5

Question


Difference of GUI rendering in deployment in R2015B
I use MATLAB Compiler to deploy a GUI in R2015B, and rendering is different when the same program run under MATLAB. For examp...

10 years ago | 1 answer | 0

1

answer

Answered
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
On my LAPTOP with Nvidia GF 730M I can't get the FPS above 12, regardless the driver (up to 385.91 where I install about a week)...

10 years ago | 0

Answered
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
There is a hope that TMW might able to fix it, since HG1 can handle well new driver.

10 years ago | 0

Answered
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
Sorry for cross posting, but we somehow pinpoint to the fact that MATLAB handle poorly some latest/advanced drivers http://w...

10 years ago | 0

Answered
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
I would like to submit another issue with HG2 performance that is blocking in my case. Context: I have a high speed camera th...

10 years ago | 0

Submitted


Plot earth
Plot earth in 3D

12 years ago | 8 downloads |

4.75 / 5
Thumbnail

Submitted


Merge sorted arrays
Given two already sorted arrays, the function combines them in an unique sorted array

12 years ago | 1 download |

4.5 / 5

Submitted


Interval merging
Merging intervals in the bracket form

13 years ago | 2 downloads |

4.0 / 5

Submitted


Sparse matrix convolution
Convolution of sparse matrices

13 years ago | 2 downloads |

4.2 / 5

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

14 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

14 years ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

14 years ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

14 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

14 years ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

14 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

14 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

14 years ago

Load more