Programming Languages:
Python, C++, C, MATLAB
Spoken Languages:
English
Python, C++, C, MATLAB
Spoken Languages:
English
Feeds
已回答
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...
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...
2 years 前 | 4
已回答
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 ...
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 ...
3 years 前 | 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...
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...
3 years 前 | 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 ...
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 ...
4 years 前 | 0
提问
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 ...
4 years 前 | 0 个回答 | 2
0
个回答已回答
Matlab 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...
Matlab 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...
4 years 前 | 0
提问
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 ...
5 years 前 | 0 个回答 | 0
0
个回答已回答
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...
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...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 1
| 已接受
已回答
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 ...
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 ...
7 years 前 | 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:/...
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:/...
7 years 前 | 0
提问
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...
7 years 前 | 9 个回答 | 0
9
个回答已回答
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...
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...
8 years 前 | 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...
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...
8 years 前 | 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/...
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/...
8 years 前 | 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...
Which MATLAB operations/functions need speeding up?
MATLAB has no documented functions for reading JSON files, and the internal, undocumented method: matlab.internal.webservic...
8 years 前 | 0
已回答
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-...
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-...
8 years 前 | 1
已回答
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...
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...
8 years 前 | 1
提问
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...
9 years 前 | 2 个回答 | 0
2
个回答已回答
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...
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...
9 years 前 | 1
已回答
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...
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...
9 years 前 | 0
已回答
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...
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...
9 years 前 | 0
已回答
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 ...
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 ...
9 years 前 | 0
提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 1
2
个回答提问
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...
9 years 前 | 2 个回答 | 2
2
个回答已回答
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.
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.
9 years 前 | 0
已回答
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...
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...
9 years 前 | 0
提问
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...
9 years 前 | 3 个回答 | 1
3
个回答已回答
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...
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...
9 years 前 | 0