# Wouter

Last seen: plus de 4 ans il y a Actif depuis 2017

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Question

How to compute efficiently A^(-1)*(1-exp(-A*h))?
I'm experimenting with exponential integrators for ODEs and SDEs, and try to avoid the built-in matlab solvers. As defined here,...

presque 5 ans il y a | 1 réponse | 0

### 1

réponse

Question

What is the origin of this bus error?
I had been running some monte-carlo simulations on a cluster node (Linux) for over a week using parfor, when a crash happened at...

presque 5 ans il y a | 2 réponses | 0

### 2

réponses

Question

Max size for efficient vectorization?
As far as I understand, vectorization can highly optimize code, because of its parallelization properties. As you have for e...

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

### 1

réponse

A résolu

Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

plus de 5 ans il y a

Question

How to normalize a histogram2 along one dimension?
I have a large set of datapoints, say in vectors X and Y containing the real variables x and y. To study the dependency of these...

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

### 1

réponse

Question

Batch seems to produce insane overhead?
I am running different, independent, simulations F1,F2,F3,F4 on the same parameters (from which I each require the first three o...

presque 7 ans il y a | 1 réponse | 0

### 0

réponse

Question

histogram2 vs pcolor: on making the coloring of the former one smooth
When making a 2d graph using pcolor() or a surface plot with surf(), MATLAB evaluates the function on a grid and gives each piec...

environ 7 ans il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
Constructing class objects within a parfor loop?
As inspired by Matt J's answer, everything seems to work when first constructing the objects in an ordinary for-loop and only la...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to write a circulant matrix , where the elements are matrices? Thanks!
Suppose the inner matrices have size Nin and the outer matrix size Nout for n=1:Nout for m=1:Nout [qn,rn]=quorem(n,Ni...

plus de 7 ans il y a | 0

Question

Constructing class objects within a parfor loop?
So I build a class called 'realization', from which working with individual objects works fine. Now, from a script, stored in t...

plus de 7 ans il y a | 2 réponses | 1

### 2

réponses

Réponse apportée
prevent figures from closing when running new script
Ok, I had a close all command at the beginning of my script, removing that solved the issue

plus de 7 ans il y a | 0

| A accepté

Question

prevent figures from closing when running new script
My proplem is simple: I have two different scripts, representing two different approaches to the same physical problem, each...

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

réponse