Community Profile

photo

sjhstone


Last seen: 5 mesi fa Attivo dal 2019

Statistiche

All
  • Knowledgeable Level 1
  • Revival Level 2
  • Solver
  • Thankful Level 1
  • First Answer

Visualizza badge

Content Feed

Visto da

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

circa 3 anni fa | 3

| accettato

Risolto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

oltre 3 anni fa

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 1

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

oltre 3 anni fa | 0

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

circa 5 anni fa | 0