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,...
거의 5년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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 ...
거의 6년 전
질문
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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 답변 수: 1 | 0