Frage


How to determine the MATLAB version when compiling C/C++ mex files
MATLAB's C/C++ mex interface changes from time to time, with new releases of MATLAB. Functionality can be added, removed or chan...

etwa 11 Jahre vor | 4 Antworten | 1

4

Antworten

Gesendet


betafit_fast
Quickly compute the parameters of a beta distribution

etwa 11 Jahre vor | 1 Download |

0.0 / 5

Beantwortet
Which MATLAB operations/functions need speeding up?
CROSS It is shameful how slow this basic function is. I wrote my own (still in standard MATLAB), and it was 5 times faster. B...

etwa 11 Jahre vor | 2

Beantwortet
What features and improvements do you hope to see in HG2?
Texture mapping of arbitrary meshes. See <http://www.mathworks.com/matlabcentral/answers/183980-how-can-i-texture-map-an-arbitra...

etwa 11 Jahre vor | 0

Frage


How can I texture map an arbitrary mesh
Surf() and surface() allow me to texture map a regular quadrangular mesh. How can I texture map an irregular triangular mesh, of...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Fastest way to compute J' * J, where J is sparse
I have a sparse rectangular matrix, J, for which I want to compute: >> H = J' * J; It's a bit slow (transpose is taking ...

mehr als 11 Jahre vor | 2 Antworten | 1

2

Antworten

Beantwortet
What features and improvements do you hope to see in HG2?
Some volume rendering capabilities, similar to <http://www.voreen.org/ voreen>.

fast 12 Jahre vor | 0

Beantwortet
What features and improvements do you hope to see in HG2?
Support for all fonts, not a limited subset, in vector graphics export.

fast 12 Jahre vor | 1

Beantwortet
What features and improvements do you hope to see in HG2?
Support for transparency and lighting in vector graphics export.

fast 12 Jahre vor | 0

Beantwortet
What features and improvements do you hope to see in HG2?
MUCH faster rendering. For example, MATLAB renders a million points of different colors incredibly slowly. I reckon some well...

fast 12 Jahre vor | 1

Beantwortet
What features and improvements do you hope to see in HG2?
Anti-aliased graphics.

fast 12 Jahre vor | 1

Beantwortet
What features and improvements do you hope to see in HG2?
Set a colormap per axes instead of per figure. This would make it much simpler to use multiple colormaps in the same figure.

fast 12 Jahre vor | 2

Frage


What features and improvements do you hope to see in HG2?
For a long time now, MATLABers have been calling for an improved graphics pipeline. MathWorks have made it clear in the past few...

fast 12 Jahre vor | 18 Antworten | 0

18

Antworten

Frage


Equivalent of inputname() for output variables
Say I have a function: function B = myfun(A) disp(inputname(1)) disp(outputname(1)) B = A; If I call it from th...

fast 12 Jahre vor | 2 Antworten | 5

2

Antworten

Gesendet


imdisp
Display multiple images as a montage of subplots

fast 12 Jahre vor | 4 Downloads |

4.69231 / 5
Thumbnail

Gesendet


real2rgb & colormaps
Converts intensity matrices into truecolor images.

fast 12 Jahre vor | 3 Downloads |

4.9 / 5
Thumbnail

Gesendet


append_pdfs
Append/concatenate multiple PDF files into a single file using Ghostscript.

fast 12 Jahre vor | 12 Downloads |

4.9 / 5

Beantwortet
Is it possible to set watchdogs (memory, exec time) in MATLAB?
I use timers to check certain things, then exit MATLAB if things go wrong. E.g. the following timer function: function kill...

fast 12 Jahre vor | 0

Beantwortet
Determine if using HG2
I've ended up using the undocumented function, graphicsversion(): function tf = ishg2(fig) try tf = ~graphicsvers...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Determine if using HG2
Currently I'm using the version checking approach: function tf = ishg2() try tf = ~verLessThan('matlab', '8.4'); ...

fast 12 Jahre vor | 2

Frage


Determine if using HG2
How can I determine if MATLAB or the current figure is using the new graphics pipeline, HG2? I need a function tf = ishg2(...

fast 12 Jahre vor | 6 Antworten | 4

6

Antworten

Beantwortet
Forward CUDA printf output to the MATLAB console
There might be a way to redirect output from stdout in a mex file ( <http://www.mathworks.co.uk/matlabcentral/answers/132527-in-...

fast 12 Jahre vor | 0

| akzeptiert

Frage


In mex files, where does output to stdout and stderr go?
If I link an external library to a mex file, and this library sends text output to stdout or stderr, what does MATLAB do with th...

fast 12 Jahre vor | 3 Antworten | 3

3

Antworten

Frage


Forward CUDA printf output to the MATLAB console
I am wrapping CUDA code in a mex file. I have printfs in my CUDA kernel, and I want to see the output from those printfs, ideall...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Linking mex files to boost libraries
Boost libraries have awkward names. They depend on all sorts of things: compiler version, library type, boost version, etc. E.g....

fast 12 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
how to get RGB color?
You can use the <http://www.mathworks.com/matlabcentral/fileexchange/16233 sc> toolbox, from the File Exchange. In your case, tr...

fast 12 Jahre vor | 0

Gelöst


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

etwa 12 Jahre vor

Gelöst


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

etwa 12 Jahre vor

Beantwortet
Jacobian of scalar matrix
gradient() computes partial derivatives approximately, using finite differences. It can't compute the exact partial derivatives ...

etwa 12 Jahre vor | 0

Beantwortet
Possible to apply filter2 to only values above a limit?
Compute the filtered version for all pixels, and simply replace the pixels above a certain value with their filtered value: ...

etwa 12 Jahre vor | 0

| akzeptiert

Mehr laden