
sjhstone
ShanghaiTech University
Statistics
RANK
3,885
of 281,890
REPUTATION
12
CONTRIBUTIONS
2 Questions
5 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
4
RANK
of 19,064
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
MEX: How to modify xml file for unsupported compiler?
Hello, if you just want to modify how $CROOT variable is captured, please search for <locationFinder> in your XML config file, a...
2 years ago | 3
| accepted
Solved
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
3 years ago
Solved
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
3 years ago
Question
Code Generation: What's the Best Practice?
Hello, I'm writing a code for comparing multiple numerical optimization algorithms using multiple combination of parameter choi...
3 years ago | 1 answer | 0
1
answerHow to move function code to a new file
As your function just scales a picture, there is really no need to put it into a live function. There are 2 simpler ways of defi...
3 years ago | 0
Update a sparse matrix efficiently
You can refer to the following blog post. It seems that you have reached the optimal efficiency. https://blogs.mathworks.com/lo...
3 years ago | 1
Mex OpenMP C code
Both printf and mexPrintf are not thread-safe and should be avoided in multi-thread OpenMP MEX C codes. You can get more inform...
3 years ago | 0
Question
Can MEX BLAS library be used for native double matrix in C?
I'm writing C MEX file to do vector-matrix multiplication, clear clc mex simpledgemv.c -R2017b -lmwblas mex simpledgemv_n...
4 years ago | 1 answer | 0
1
answerMex-files + Visual studio 2013 + openMP cause Matlab crashes
Under Windows, it is not that difficult to use Intel's OpenMP library with Microsoft Visual C++ Compiler. Try use the following...
4 years ago | 0