Community Profile

photo

Adam


Imperial College London

7 total contributions since 2014

Contact

Adam's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Vectorizing nested for loops
How do I vectorize these for loops? I am looking for the fastest implementation. Thank you! My current implementation is ...

2 years ago | 2 answers | 0

2

answers

Question


Can I avoid this broadcast variable?
Hello, I had two nested for loops that I would like to parallelise. It looked like this for k = 1:size(S,2) for j = 1:le...

2 years ago | 1 answer | 0

1

answer

Question


Relabel data points to remove gaps
Hello, I have an array of data points, which looks like this when sorted into ascending order. x = [ 18 23 30 54 54 98]; ...

3 years ago | 1 answer | 0

1

answer

Question


Efficient way to find mirror entries
Hello, I have a matrix A with N rows. Any arbitrary row i=1,...,N looks like [a b xi], where a,b are positive integers. ...

3 years ago | 1 answer | 0

1

answer

Question


indexing within parfor loop
Dear All, I am having troubles with setting up the following parfor loop. Basically, I have two variables T and tau and ...

3 years ago | 2 answers | 0

2

answers

Question


videowriter error: 'The specified profile is not valid.'
Hello, I am trying to create a video in Matlab from a time series of plots. On my Mac OSX running Matlab 2016b system th...

3 years ago | 0 answers | 2

0

answers

Question


elapsed time in parfor
I'm running a parameter optimisation routine, which involved running an ODE model (ode15s) with a range of parameters sampled fr...

7 years ago | 1 answer | 0

1

answer