Professional Interests: algorithmic trading, object-oriented design, software quality methodologies

Answered

Using array or vector as a key in Map

@Walter-- I couldn't get your sprintf() suggestion to work, maybe I didn't understand you? I have included my own proposed solut...

Using array or vector as a key in Map

@Walter-- I couldn't get your sprintf() suggestion to work, maybe I didn't understand you? I have included my own proposed solut...

2 days ago | 0

Answered

App Designer's editor is slow and gets stuck alot

EDIT 3/20/20 : Happy to report that we're not having any more problems in AppDesigner R2019b. One additional tip that has worked...

App Designer's editor is slow and gets stuck alot

EDIT 3/20/20 : Happy to report that we're not having any more problems in AppDesigner R2019b. One additional tip that has worked...

9 months ago | 0

Answered

Why doesn't 'HeaderLines' work in the readtable command?

Walter's solution is a good one, when the number of table rows are known in advance. In my case, I have Excel files with a fixed...

Why doesn't 'HeaderLines' work in the readtable command?

Walter's solution is a good one, when the number of table rows are known in advance. In my case, I have Excel files with a fixed...

2 years ago | 3

Answered

How can I insert a title over a group of subplots?

>Answer by MathWorks Support Team on 26 Apr 2010 >It is not possible to put a title over a group of subplots in MATLAB.. ...

How can I insert a title over a group of subplots?

>Answer by MathWorks Support Team on 26 Apr 2010 >It is not possible to put a title over a group of subplots in MATLAB.. ...

2 years ago | 0

Question

How to find and replace within *.mlx (Live Scripts), across multiple files?

As of R2018a, Matlab does not offer any way to search and replace text, across multiple files. This is a must-have for refactori...

2 years ago | 1 answer | 0

Question

Yang-Zhang volatility : validated implementation?

Is anyone using a validated implementation of Yang-Zhang volatility within Matlab? I was hoping to use Tommaso Belluzzo's File E...

2 years ago | 0 answers | 0

Answered

How can I get rid of this enumeration error while using classes?

MATLAB enumeration definitions can't be nested within another classdef definition, as your code attempts to do. That would be ve...

How can I get rid of this enumeration error while using classes?

MATLAB enumeration definitions can't be nested within another classdef definition, as your code attempts to do. That would be ve...

6 years ago | 1

Question

How are ninja solutions even possible in Cody?

In <http://www.mathworks.com/matlabcentral/answers/31888-123-0-vs-1-2-3-and-mtree a previous Q & A>, Jan Simon pointed to <http:...

6 years ago | 2 answers | 3

Question

How to register a class method as a figure callback?

I need to register a classdef method as a figure callback. I've associated the class object with the figure, but I'm not sure ho...

7 years ago | 1 answer | 1

Question

Documentation for overloading builtin end() class method..?

Hi everyone, I need to find official documentation / examples for overloading the builtin classdef 'end' method. I have an ex...

7 years ago | 1 answer | 1

Question

RandStream generators & dieharder validation suite?

Hi, Has anyone investigated the various <http://www.mathworks.com/help/matlab/math/creating-and-controlling-a-random-number-s...

7 years ago | 3 answers | 2

Question

determine axis limits *before* plotting..?

Hi everyone, I need to determine the y-axis limits "before" rendering my plot, b/c the elements are rendered in a loop, one a...

8 years ago | 2 answers | 0

Question

Eigenvalues for vector inputs..?

Hi everyone, I have two vectors of experimental data which I believe are linearly related (within a close tolerance). I would...

8 years ago | 1 answer | 0

Answered

How to programmatically determine if in headless mode..?

Per Nathan Lloyd in Mathworks PCT support, the native MATLAB usejava() function can be used to determine whether the executing M...

How to programmatically determine if in headless mode..?

Per Nathan Lloyd in Mathworks PCT support, the native MATLAB usejava() function can be used to determine whether the executing M...

8 years ago | 1

Question

How to programmatically determine if in headless mode..?

I'm working on an issue with the Parallel Computing Toolbox (PCT).. As each MATLAB.exe worker thread process is initialized, ...

8 years ago | 2 answers | 1

Answered

Within a function : get complete command-line calling text, a la dbstack()..?

I was able to find a solution, with help from Google, by searching for : matlab "command history". After all that tedious debat...

Within a function : get complete command-line calling text, a la dbstack()..?

I was able to find a solution, with help from Google, by searching for : matlab "command history". After all that tedious debat...

9 years ago | 1

| accepted

Question

Within a function : get complete command-line calling text, a la dbstack()..?

Hi everyone, I understand how to use dbstack(), within a saved M-function, to get the complete text of the command which called...

9 years ago | 3 answers | 1

Question

How to cast a subclass object to its superclass type..?

Hi everyone, The MATLAB documentation states: "MATLAB does not allow you to create arrays containing a mix of superclass and s...

9 years ago | 1 answer | 1

Question

Selecting array column elements using a vector..?

Hi everyone, I need to select elements from a 2D array. I have an index vector whose (i)'th value is the desired row to select ...

9 years ago | 1 answer | 0