Community Profile

Oliver Johnson


Brigham Young University

Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
Error: MAT file cannot be loaded because it contains duplicate variables
It turns out the problem was that MATLAB closed before the MAT file was finished saving, so it was just corrupted. The solution ...

8 years ago | 1

| accepted

Question


Error: MAT file cannot be loaded because it contains duplicate variables
I saved 10 very large MAT files that contain simulation results (each is the result of running the same script, with different i...

8 years ago | 2 answers | 0

2

answers

Question


How to identify an iteration that throws a warning/error?
I have a for-loop and some iterations are throwing warnings. I would like to know which iterations are the ones throwing the war...

8 years ago | 2 answers | 0

2

answers

Question


find() along a given dimension of a matrix
I have an n-by-m matrix, A. I would like to find the last element in each row of A satisfying some condition. Intuitively, I'm l...

8 years ago | 3 answers | 1

3

answers

Question


How to debug only the N-th call to a function?
I have a script that calls fmincon to minimize a function, call it @myfun. The solver makes it through 3 iterations (each with d...

8 years ago | 1 answer | 0

1

answer