Python, C++, C, MATLAB
Spoken Languages:
English
Statistics
15 Files
Cody ThingSpeakRANK
228
of 295.486
REPUTATION
413
CONTRIBUTIONS
32 Questions
110 Answers
ANSWER ACCEPTANCE
46.88%
VOTES RECEIVED
204
RANK
108 of 20.236
REPUTATION
10.180
AVERAGE RATING
4.90
CONTRIBUTIONS
15 Files
DOWNLOADS
158
ALL TIME DOWNLOADS
91324
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
4 Public Channels
AVERAGE RATING
29
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Submitted
Example MATLAB class wrapper for a C++ class
An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface.
bijna 2 jaar ago | 10 downloads |
Apple's M1 native support
MATLAB R2022a still doesn't run natively on Apple silicon. The release notes say "On Apple silicon Macs, MATLAB runs using the R...
meer dan 2 jaar ago | 4
Solved
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
ongeveer 3 jaar ago
Solved
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
ongeveer 3 jaar ago
Exporting images (png) through export_fig - painfully slow
Reducing the level of anti-aliasing will reduce the sixe of the images created, saving time. Use the '-aX' option, where X is 1 ...
ongeveer 3 jaar ago | 0
export_fig Transparency
The answer is in the help text you shared (you just want the axes color to be white, not none): fig = figure; plot(rand(5)) t...
ongeveer 3 jaar ago | 0
Changing image rendering?
Basically you are rendering a binary image, and you're getting gray levels instead of just black and white? What are you using ...
ongeveer 4 jaar ago | 0
Submitted
Batch Job
Toolbox to spread batch work over multiple MATLAB instances, even on other PCs
meer dan 4 jaar ago | 4 downloads |
Submitted
SC - powerful image rendering
Useful tool for rendering and outputting information rich images
meer dan 4 jaar ago | 10 downloads |
Question
When does an update to a function come into effect?
If I edit an existing function, and save the file, when does that change come into effect, in the following scenarios: Code is ...
meer dan 4 jaar ago | 0 answers | 2
0
answersMatlab editor doubt - edit running code
In more recent versions of MATLAB, if you drag a file from a folder into the editor window, that file will open immediately, eve...
meer dan 4 jaar ago | 0
Question
How can I render points in 3D such that they correctly occlude each other
When I use plot3() to render points (using the OpenGL renderer, in hardware mode, with full hardware support), the occlusion of ...
meer dan 5 jaar ago | 0 answers | 0
0
answersSubmitted
fix_lines
Improves the style of lines in MATLAB generated eps files
bijna 6 jaar ago | 2 downloads |
How to display 70 128*128 images in Matlab from a mat file
The imdisp method in the <https://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering sc> FEX submiss...
ongeveer 6 jaar ago | 0
Solved
expand intervals
You're given a row vector of an even number of monotonically increasing integers. Each pair of consecutive integers is the lower...
ongeveer 6 jaar ago
Plot 2D images in 3D scatter plot
h = surface(X, Y, Z, im, 'facecolor', 'texturemap', 'edgecolor', 'none'); alpha(h, 0.5); X, Y, and Z are each 2x2 matric...
ongeveer 6 jaar ago | 1
| accepted
Submitted
maximize
Platform independent function to maximize a figure window.
meer dan 6 jaar ago | 4 downloads |
Submitted
Image Alignment Demo with several goodies: Lie algebra, auto differentiation...
Demonstration of gradient-based image alignment, including some nice tricks and handy software
meer dan 6 jaar ago | 1 download |
Which standard MATLAB functions do you shadow with your own version, and why?
I shadow *bsxfun* with my own version, which calls the builtin function bsxfun for all inputs except symbolic ones, for which I ...
meer dan 7 jaar ago | 0
Which standard MATLAB functions do you shadow with your own version, and why?
I shadow *dot* and *cross* with my own versions, which extend the standard functionality to allow for inputs which have <https:/...
meer dan 7 jaar ago | 0
Question
Which standard MATLAB functions do you shadow with your own version, and why?
When you have two functions on your MATLAB path with the same name, the function in the directory higher up the path gets called...
meer dan 7 jaar ago | 9 answers | 0
9
answersSubmitted
C++ JSON IO
Mex wrapper to C++ class for fast reading and writing of JSON files
meer dan 7 jaar ago | 4 downloads |
Submitted
Tensor matrix multiply
Matrix multiplication over tensor arrays (i.e. arrays of matrices), with matrix transposition.
meer dan 7 jaar ago | 2 downloads |
How do *you* debug mex files on Mac OS
<https://www.mathworks.com/matlabcentral/answers/249023-debugging-c-mex-files-in-xcode-7-on-el-capitan#answer_197054 This> is ho...
ongeveer 8 jaar ago | 0
Debugging C++ mex files in Xcode 7 on El Capitan
I have been able to hit a breakpoint in my mex code, within the Xcode IDE, by doing the following steps: # <https://www.mathw...
ongeveer 8 jaar ago | 0
Debugging C++ mex files in Xcode 7 on El Capitan
I build the mex file as a command line project in Xcode, using the following custom build settings: <</matlabcentral/answers/...
ongeveer 8 jaar ago | 0
Which MATLAB operations/functions need speeding up?
MATLAB has no documented functions for reading JSON files, and the internal, undocumented method: matlab.internal.webservic...
ongeveer 8 jaar ago | 0
Solved
Index one element in each vector of an array along a given dimension
Functions like min and max can return in their second output argument the index of the element in each vector along a particular...
meer dan 8 jaar ago
How to compute the hash of a string using SHA algorithms
The Java-based solution can be found <http://uk.mathworks.com/matlabcentral/answers/45323-how-to-calculate-hash-sum-of-a-string-...
meer dan 8 jaar ago | 1