Feeds
提问
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,...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 2 个回答 | 0
2
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答已解决
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 ...
5 years 前
提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 0 个回答 | 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...
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...
7 years 前 | 0
| 已接受
已回答
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...
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...
7 years 前 | 0
提问
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...
7 years 前 | 2 个回答 | 1
2
个回答已回答
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
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
7 years 前 | 0
| 已接受
提问
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...
7 years 前 | 1 个回答 | 0