Community Profile

# Wouter

12 total contributions since 2017

View details...

Contributions in
View by

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

2 months ago | 1 answer | 0

### 1

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

4 months ago | 1 answer | 0

### 1

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

10 months ago | 1 answer | 0

### 1

Solved

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

11 months ago

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

1 year ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 0

| accepted

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

2 years ago | 2 answers | 1

### 2

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

2 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 1 answer | 0