Question


How to use a parfor loop inside a for loop?
I have a for loop with variables that have dependency. Within that loop I would like to use parfor to perform a costly operation...

2 years ago | 1 answer | 0

1

answer

Answered
How to identify a specific region of an image?
I think this is an interesting question and I think I have a good solution so I will answer my own question. Since this is a ...

2 years ago | 0

Question


How to identify a specific region of an image?
I have some ultrasound movies that I have converted to sets of image frames. I'm trying to adjust the contrast of the region tha...

2 years ago | 1 answer | 0

1

answer

Question


How to plot a cropped image in another axis within the same figure?
If my figure has two axes/subplots and one of them plots an image, how can I use imcrop on that image and plot the cropped image...

2 years ago | 1 answer | 0

1

answer

Question


Create a method that overloads a property?
I have an established object I would like to overload one of its properties by creating a method of the same name. My idea fo...

3 years ago | 1 answer | 0

1

answer

Question


How to replace elements in an array with the indices of the array's sorted, unique values?
This is what I have (below). I am wondering if there is a better way of accomplishing the aforementioned task. Also, is there a ...

3 years ago | 3 answers | 1

3

answers

Question


Fast way to retrieve nonzero entries of each row in a sparse matrix
I'm working with very large sparse matrices (10's of thousands to millions of entries) and I'd like to efficiently retrieve and ...

3 years ago | 1 answer | 0

1

answer

Question


How to split a vector into unequal sections?
I know that some similar questions have previously been asked, but I think this problem might be a little unique. For some conte...

3 years ago | 2 answers | 0

2

answers

Question


How to use ismember in a cell array?
I would like to change the value of some value within a cell array that has only numeric data, preferably not using loops becaus...

3 years ago | 2 answers | 0

2

answers

Question


Is it better to use the dimensional cat function(s) versus using brackets?
I've timed the various methods of concatenating vectors and I'd like someone to interpret the results a little bit. Knowing that...

3 years ago | 2 answers | 0

2

answers

Question


How to rotate rows of a matrix?
I have a matrix A where each row of A has only one value of 1 and the rest are some other number. A = [9 8 7 1; 9 1 8 7; 9 8 ...

3 years ago | 3 answers | 0

3

answers

Question


How can I index using cell arrays?
A = randi(100,1,8); % Some array that I want to index into. B = {[1;2;3];[4;5];[6];[7;8]}; % Cell array with indices. %I w...

3 years ago | 1 answer | 0

1

answer

Question


How do I get all non-unique occurrences?
MATLAB's unique function only returns the non-unique indices to either the 'first' or 'last' occurrences of unique elements/row...

3 years ago | 1 answer | 0

1

answer

Question


Cannot reinstall MATLAB 2012
I have win7 and run a 64 bit desktop. I installed matlab through Ohio State last spring (2012) and my subscription has expired. ...

7 years ago | 1 answer | 0

1

answer