Community Profile

# Michal Szkup

Last seen: 4 dagar ago Active since 2020

View badges

#### Content Feed

View by

Answered
Plot matrix with ticks corresponding to the data points
Given the data I have, I initially tried: figure; imagesc(M, 'XData', x, 'YData', y);set(gca,'YDir','normal') This delivered ...

19 dagar ago | 0

Question

Plot matrix with ticks corresponding to the data points
I have a matrix, call it M (attached), that contains 0s, 1s, and 2s, that I would like to plot. This matrix is generated using v...

20 dagar ago | 2 answers | 0

### 2

answers

Question

Modify Tabs in Editor (Matlab 2022a)
I have just installed Matlab 2022a version. Compared to Matlab 2020a version the user interface has changed. I am wondering if s...

10 månader ago | 1 answer | 1

### 1

answer

Question

Loading and saving variables when using parallel toolbox
I am solving a systme of equations using fsolve, where in order to compute those equations I need to solve a recursive problem. ...

mer än 2 år ago | 2 answers | 1

### 2

answers

Question

Poor performance of mex file
I am trying to speed up a code using Matlab coder, but the resulting mex code is actually slower than the m-file. The simplified...

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

### 1

answer

Question

Any advice on using matlab coder efficiently?
I am trying to learn how to use matlab coder to generate mex functions in order to speed up my codes. I read the documentation...

nästan 3 år ago | 0 answers | 0

### 0

answers

Answered
Speeding up loop for finding index in a large vector
I managed to cut the time by factor of 3 following the method suggested in this answer: Similar example with large matrices Fo...

nästan 3 år ago | 0

| accepted

Question

Speeding up loop for finding index in a large vector
I am trying to speed up the following piece of code. It computes position (i.e., index) of random draws according to the CDF m. ...

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

### 1

answer

Question

Vectorize computation of the steady state distribution
I am trying to speed up the following code that computes a steady state distribution of a dynamic system. The idea here is that...

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

### 0

answers

Question

How do I speed up a loop where I need to check whether elements are less than 0
I am trying to speed-up the following loop. This loop updates a value function v_d given a guess v_ini_exp. All variables are pr...

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

answers