Community Profile

hamed amini

Last seen: 12 days ago
12 total contributions since 2017

View details...

Contributions in
View by

Question

column-wise operation based on indices, accumarray?
if s and v are matrices of the same sizes. s = [1 1 1 2 2 2 1 2 2 2 3 ...

2 months ago | 1 answer | 0

1

Question

resize the figure without colorbar in subplot
I'd like to keep similar right edges for the subplots with and without colorbar

3 months ago | 1 answer | 0

1

Question

3D quadratic fitting to 27 voxel points, extend Matlab's findpeak function to 3rd dimention
the function below from Matlab's findpeak, fits a 2D quadtratic function u(x,y) to 9 pixels, I would like to extend that to 3D...

1 year ago | 0 answers | 0

0

>> edit private/phasecorr.m

1 year ago | 0

| accepted

Question

I would like to use the phasecorr function, but it cannot be accessed. Is there a way to run it as a standalone function and not...

1 year ago | 1 answer | 0

1

Question

R2017a bug?, resample
I get an error trying to run the following example from the help page in Matlab R2017a. -------------------------------------...

3 years ago | 0 answers | 0

0

Question

Bayesian optimisation (coupled?) constraints - Bayesopt
consider an optimization with two variables x1, x2 with the following bounds: a<x1<b a<x2<x1 What is the best approach ...

3 years ago | 1 answer | 0

1

Question

data storage, reduce the repeated elements, recurrence
if input is: a = [5 5 1 6 6 6 4 4 2] how to get the output as: elements: [5 1 6 4 2] recurrence: [2 1 3 2 1]

3 years ago | 1 answer | 0

1

apply the min index to an array of the same size
I found the answer; here is an example when the min is applied along the 3rd dimension: >> a=rand(2,3,4,5); >> [amin, ai...

4 years ago | 0

| accepted

Question

apply the min index to an array of the same size
A and B are arrays with the same size. e.g. >> size(A) = [2,4,3,5]; % A is a 4 dimensional matrix >> size(B) = [2,4,3,5]; ...

4 years ago | 1 answer | 0

1

how to create for loop in matlab?
look into sprintf function >> variable_numbers1 = [1 2 3 ... 1000]; >> variable_numbers2 = [2001 2002 2003 ... 2001000];...

4 years ago | 0

Question

execution speed changes by sequence of running the code
the question updated: the sequence of running different codes changes the run time. -------------- initially it appeare...

4 years ago | 1 answer | 0