photo

Bananach


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Find minimum of $n$ first entries, with $1\leq n\leq numel(X)$.
Given a one-dimensional array $X$, is there a fast way (faster than a for loop) to find $min_{1\leq m\leq n} X(m)$ for all $1\le...

circa 8 anni fa | 2 risposte | 0

2

risposte

Risposto
PDE: Subdivide edge to assign different boundary conditions
Use a polygon instead of a rectangle (which is created as special case of a polygon anyway). Create multiple vertices on the sid...

oltre 8 anni fa | 0

| accettato

Domanda


PDE: Subdivide edge to assign different boundary conditions
I want to solve a 2nd order elliptic PDE on a two-dimensional square. Can I assign different boundary conditions to two piece...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


How to share a HashMap in parallel computing
*Setup* I am trying to parallelize an algorithm that runs the same code on each row of a matrix (and then postprocesses the r...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


parfor with progress report
I would like my parfor loop to count how many of the indices have been handled and display this information during the computati...

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


(Container)Map with array keys
I need a Map whose keys are arrays of integers. MATLAB's Containers.Map does not allow array keys. The implementation with Java...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Problems with parfor in class method
If I run F=Foo(1); F.A=pi; F.bar(); where classdef Foo properties A; sz; ...

oltre 8 anni fa | 1 risposta | 1

1

risposta

Risposto
Why is parfor 500 times faster with 12 workers on a loop of size 100
Restarted, and the effect went away. for loop became faster, in a way that made the numbers reasonable

oltre 8 anni fa | 0

| accettato

Domanda


Why is parfor 500 times faster with 12 workers on a loop of size 100
I am running code that is equivalent to A=init(); T=init2(); N=100; B=zeros(N,1); for i=1:N B(i)=T.foo(A(i...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


ind2sub output in arrayform
The syntax of ind2sub is [s1,s2,s3,...,sd]=ind2sub(size,i) where s1,... are d vectors of size Nx1 when i has size Nx1 an...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Specifying diffusion coefficient, PDE toolbox
I currently solve elliptic PDE with Matlab as follows pdem = createpde(1); c=1; a=0; f=1; geometryFromEdges(pdem,@sq...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Problem solving most simple elliptic PDE, 2015a
Trying to solve $\Delta u=1$ on the unit square, I currently do pdem = createpde(1); c=1; a=0; f=1; geometryFromEdg...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Fill a line with tabs until specified length is reached
In order to format my output of multiple lines, I currently use something like fprintf('Foo Method: \t\t\t\t\t %f',a) fp...

quasi 9 anni fa | 2 risposte | 0

2

risposte

Domanda


Disabling Stretch-to-fill does not work
I am displaying a 3-D scatterplot with scatter3(rand(100,1),rand(100,1),rand(100,1)) By default, the plot is stretched t...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive MATLAB Figures in HTML?
Can I embed MATLAB Figures into HTML preserving 3-D functionality? This seems not to be possible using the MATLAB publishing too...

circa 9 anni fa | 0 risposte | 1

0

risposte

Domanda


Can I publish interactive Figures in HTML
Can I embed Matlab Figures into HTML preserving 3-D functionality? This seems not to be possible using the MATLAB publishing too...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive figures in HTML?
When using the publish feature, and including 3D figures, quite a lot of information gets lost when the figure window is convert...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive figures in HTML?
When using the publish feature, and including 3D figures, quite a lot of information gets lost when the figure window is convert...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive figures in HTML?
When using the publish feature, and including 3D figures, quite a lot of information gets lost when the figure window is convert...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive figures in HTML?
When using the publish feature, and including 3D figures, quite a lot of information gets lost when the figure window is convert...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Can I publish interactive figures in HTML
When using the publish feature, and including 3D figures, quite a lot of information gets lost when the figure window is convert...

circa 9 anni fa | 0 risposte | 0

0

risposte