Beantwortet
Which MATLAB operations/functions need speeding up?
MATLAB has no documented functions for reading JSON files, and the internal, undocumented method: matlab.internal.webservic...

mehr als 9 Jahre vor | 0

Gelöst


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...

fast 10 Jahre vor

Beantwortet
How to calculate hash sum of a string (using java)?
A similar solution: %STRING2HASH Convert a string to a 64 char hex hash string (256 bit hash) % % hash = string2has...

fast 10 Jahre vor | 1

Beantwortet
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-...

fast 10 Jahre vor | 2

Frage


How can I access an API which requires OAuth 2.0 authorization, such as Google APIs
Some REST APIs, such as <https://developers.google.com/analytics/devguides/reporting/core/v3/gdataAuthorization Google Analytics...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Kanal


Zojul social media followers

mehr als 10 Jahre vor

Kanal


London social meetups 2

mehr als 10 Jahre vor

Kanal


London social meetups
The membership sizes of several London-based social meetup groups.

mehr als 10 Jahre vor

Kanal


Meetup stats
Statistics about Meetup collected from meetup.com/about

mehr als 10 Jahre vor

Beantwortet
Returning and passing void pointers to mex functions
Whilst you are not interfacing to a C++ class, much of a similar discussion on how to reuse a pointer to a C++ class is relevant...

mehr als 10 Jahre vor | 1

Beantwortet
How to prevent Matlab from GPU switching on Macbook Pro?
If you don't need the desktop, then you can run the command window only version of MATLAB by calling the following in a terminal...

mehr als 10 Jahre vor | 0

Beantwortet
Which MATLAB operations/functions need speeding up?
Matrix operations involving the transpose of a sparse matrix, especially J' * J and J' * K, where J is a very tall matrix. Const...

mehr als 10 Jahre vor | 0

Beantwortet
Are the values in each compressed column of a sparse matrix stored in order?
Since it is possible to write the column data in any order from a mex file, I would say *no*. However, I tried three methods ...

mehr als 10 Jahre vor | 0

Frage


Are the values in each compressed column of a sparse matrix stored in order?
If I have a sparse column vector (e.g. a column of a sparse matrix), and I'm accessing the elements of that vector in a mex file...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Debugging C++ mex files in Xcode 7 on El Capitan
I have just migrated to MAC OS, and am trying to debug a mex file for the first time. I'm using MATLAB R2015b and Xcode 7.0.1 on...

mehr als 10 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


How do *you* debug mex files on Mac OS
I'm having trouble <http://uk.mathworks.com/matlabcentral/answers/249023-debugging-c-mex-files-in-xcode-7-on-el-capitan debuggin...

mehr als 10 Jahre vor | 2 Antworten | 2

2

Antworten

Beantwortet
imagesc() Y Axis Log Scale Not Working (Help!)
If you want to avoid pcolor, you can resample the image at the log scale locations, then use imagesc to display that.

mehr als 10 Jahre vor | 0

Gesendet


Bitcount & bitwise hamming distance
Count the set bits in vectors, and compute bitwise hamming distances between sets of vectors

mehr als 10 Jahre vor | 1 Download |

0.0 / 5

Beantwortet
Which MATLAB operations/functions need speeding up?
TYPECAST Typecast uses a deep copy rather than a shared data copy, as explained by James Tursa in his <http://www.mathworks.c...

mehr als 10 Jahre vor | 0

Gesendet


Figure control widget
Intuitive manipulation of a figure using key and mouse gestures

fast 11 Jahre vor | 1 Download |

5.0 / 5

Frage


Is A./B different from B.\A?
Given two matrices, A and B, will A./B ever give a different answer from B.\A, or are these two expressions equivalent? It se...

fast 11 Jahre vor | 3 Antworten | 1

3

Antworten

Beantwortet
Which MATLAB operations/functions need speeding up?
IMFILTER with separable filters on multi-channel images. This particular use case of imfilter is actually slower than using c...

fast 11 Jahre vor | 0

Beantwortet
Which MATLAB operations/functions need speeding up?
It needs a NOP function - a builtin function which does absolutely nothing, but extremely quickly. In compiled languages like...

fast 11 Jahre vor | 0

Beantwortet
Creating movie from Images from a for loop
Produce your images programmatically, rather than by exporting a figure, if you can, as it will be much faster. <http://www.math...

fast 11 Jahre vor | 0

| akzeptiert

Frage


Given a named function, how can I call this function, and not the subfunction of the same name?
My function is passed the name of a function (as a string). It just so happens that my function contains a subfunction of that n...

fast 11 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
combining many RGB images into one image
You can display a cell array of images using <http://www.mathworks.com/matlabcentral/fileexchange/22387-imdisp imdisp>. imdi...

fast 11 Jahre vor | 0

Beantwortet
In mex files, where does output to stdout and stderr go?
In a C++ mex file you can output std::cout to the command line, by putting the following code somewhere in your mex file: c...

fast 11 Jahre vor | 2

Beantwortet
scatter plot with 4 different background color
figure; im = rand(2, 2, 3); image([0 1], [0 1], im); hold on a = rand(10,1); b = rand(10,1); scatter(a, b); The...

etwa 11 Jahre vor | 0

Beantwortet
How to optimize this matlab code?
Use <http://www.mathworks.com/matlabcentral/fileexchange/8773 multiprod> as follows: y = reshape(multiprod(multiprod(W_matr...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to determine the MATLAB version when compiling C/C++ mex files
matrix.h contains the following: #define MX_API_VER 0x07040000

etwa 11 Jahre vor | 0

Mehr laden