# Oleg Komarov

PhD in Financial Economics at Imperial College London.

Professional Interests: asset management, big data, systematic trading strategies, financial modelling

**Statistics**

RANK**46**

of 265 360

REPUTATION**3 857**

CONTRIBUTIONS

**37** Questions

**1 022** Answers

ANSWER ACCEPTANCE **
54.05%
**

VOTES RECEIVED**1 033**

RANK**461** of 18 131

REPUTATION**3 380**

AVERAGE RATING**4.70**

CONTRIBUTIONS**23** Files

DOWNLOADS **60**

ALL TIME DOWNLOADS**30336**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Does appdesigner support retina displays?

As you can see from the image below, the axis created in the app designer is not crisp. Normal plots created with e.g. |plot(1:1...

ungefär 5 år ago | 0 answers | 0

### 0

answersBatman equation in MATLAB

The "correct" version with explanations: http://math.stackexchange.com/questions/54506/is-this-batman-equation-for-real % G...

mer än 5 år ago | 3

Performance of table data type

As already replicated in <uk.mathworks.com/matlabcentral/answers/256482-table-performance-very-slow table performance very slow>...

nästan 6 år ago | 1

Table performance very slow

I have been _using_ |table()| way before they were introduced into the core package, since _de facto_ they are the ported versio...

nästan 6 år ago | 3

TUTORIAL: how to format your question with markup

*CODE* <<http://img5.uploadhouse.com/fileuploads/13715/13715165c3b7057dff601f51d51cd859096f4313.gif>>

mer än 6 år ago | 3

Overriding table() methods and adding new

I adopted a solution that I fully describe on <http://stackoverflow.com/a/34999598/2180721 StackOverflow>. Development for a ...

mer än 6 år ago | 0

| accepted

[Win] R2015b crashes often, is more unstable

Support suggested to try the pre-release R2016a and I did not manage to crash Matlab on that. You can infer the rest.

mer än 6 år ago | 0

| accepted

Question

[Win] R2015b crashes often, is more unstable

Has anyone noticed that Matlab has become more unstable under R2015b? In my use case I run some intensive data crunching and es...

mer än 6 år ago | 1 answer | 1

### 1

answerQuestion

Overriding table() methods and adding new

SETUP Win7 64b R2015b The |table()| is a <http://uk.mathworks.com/help/matlab/matlab_oop/subclassing-matlab-built-in-classes....

mer än 6 år ago | 1 answer | 0

### 1

answerproblem with xlswrite while obeying excel limits

I had the following error: message: '' identifier: 'MATLAB:COM:E2148140012' and it boiled down to having a col...

nästan 7 år ago | 1

How to apply "smart indent" to a file programmatically

*EDIT Dec 2015*: use http://www.mathworks.com/matlabcentral/fileexchange/50554-okomarov-tidycode Suppose you have this fcn s...

nästan 7 år ago | 8

| accepted

Question

Screen (2D) projection of 3D plot

How can I get the *screen projection* (2D) of the following 3D plot: h = ezplot3('t', 'sin(t)', '20*cos(t)', [0 10*pi]); ...

nästan 7 år ago | 1 answer | 1

### 1

answerIs it possible to rename columns in a table?

My <http://uk.mathworks.com/matlabcentral/fileexchange/50006-okomarov-tableutils |tableutils()|> has |renameVarNames()| that doe...

mer än 7 år ago | 1

Hi, I want 2 timer objects to execute sequentially, one after the other. Please help

You can use one timer and a function that alternate the state(s): tic t = timer; t.ExecutionMode = 'fixedDelay'; t...

mer än 7 år ago | 2

| accepted

How do I convert strings stored in a cell array to numbers?

Hi Alex, you cannot mix double values with char values, but you still have to use a cell array (or drop the header 'Names'). ...

mer än 7 år ago | 6

| accepted

HOW TO CONVERT PASSWORD TO ******** FORMAT USING MATLAB

An addition to the list <http://uk.mathworks.com/matlabcentral/fileexchange/47210-passfield FEX: passfield>. <<http://uk....

nästan 8 år ago | 0

asking for a password or code.

An addition to the list by Jan <http://uk.mathworks.com/matlabcentral/fileexchange/47210-passfield FEX: passfield>. <<htt...

nästan 8 år ago | 0

Question

Clear text typed with input() from the command history

The case scenario is very simple, I am asking for a password to be typed in the command window. I am using s = input(...

nästan 8 år ago | 2 answers | 0

### 2

answersQuestion

why regexprep much slower than strrep

Consider the following simplified example: str = cellstr(repmat('987_890',1e5,1)); timeit(@()strrep(str,'_','')) time...

nästan 8 år ago | 0 answers | 1

### 0

answers[Bug?] Print to eps on Win produces Unix line endings

Since R2014b, on Win: it is not a bug but a change in behavior of the |print()| function. A workaround is to read in the .ep...

nästan 8 år ago | 0

| accepted

Question

[Bug?] Print to eps on Win produces Unix line endings

On Win7 64b with R2014b, printing a figure to .eps produces Unix line endings (LF or \n). Is this expected or a *bug*? Als...

nästan 8 år ago | 1 answer | 0

### 1

answerFaster way to create Rectangles

To use patches you need first to organize the |Xdata| and |Ydata| in matrices of 4 rows, one per vertex, and as many columns as ...

nästan 8 år ago | 3

| accepted

How to stop parfor from launching a parallel pool automatically?

In the preferences: <</matlabcentral/answers/uploaded_files/19338/Capture.PNG>> . To edit parallel preferences programm...

nästan 8 år ago | 6

| accepted

fprintf \n not working properly

You are printing a 5 column row: '%12.8f %12.8f %12.8f %12.8f %12.8f \n' but supplying 6 datatpoints: Data(row_...

nästan 8 år ago | 2

| accepted

Save vector to m-file

Since R2014a you can use <http://www.mathworks.co.uk/help/matlab/ref/matlab.io.savevariablestoscript.html |matlab.io.saveVariabl...

ungefär 8 år ago | 1

Text out goes weird on Figure with underscores

By default the interpreter of text objects is set to |'tex'|. Set it to 'none', i.e. set(obj,'Interpreter','none') For...

ungefär 8 år ago | 0

| accepted

Matlab creating help but ignoring the header

The help should be a continuous block of comments. This means that the |classdef| or |function| declarations constitute a termin...

ungefär 8 år ago | 0

Unexpected numerical errors in matrix/vector multiplication

The dot product implementation might differ according to the input, i.e. dot product between two vectors as opposed between two ...

ungefär 8 år ago | 2

| accepted

Rapid Vector Matching/Search Problem

You can try to use <http://www.mathworks.co.uk/help/matlab/ref/bsxfun.html |bsxfun()|>: find(all(bsxfun(@eq, A,B),2)) Wh...

ungefär 8 år ago | 2

sum of two different data series

You cannot use |DataIdx| directly as |subs| in |accumarray()| because in your example each streak of indices is treated as a sep...

ungefär 8 år ago | 2