Community Profile

Michal Szkup

Last seen: 4 mois il y a Actif depuis 2020

Content Feed

Afficher par

A répondu
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 ...

7 mois il y a | 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...

7 mois il y a | 2 réponses | 0

2

réponses

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...

plus d'un an il y a | 1 réponse | 1

1

réponse

Question

I am solving a systme of equations using fsolve, where in order to compute those equations I need to solve a recursive problem. ...

environ 3 ans il y a | 2 réponses | 1

2

réponses

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...

plus de 3 ans il y a | 1 réponse | 1

1

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

A répondu
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...

plus de 3 ans il y a | 0

| A accepté

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. ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

réponse