Community Profile

photo

Qun Wu


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Pass a Matlab Function handle to mex file in GPU computing
I am trying to pass a Matlab function(.m file) which is for the math operation only to one mex file. the mex file is for GPU com...

6 years ago | 1 answer | 0

1

answer

Question


Mex files call DLL generated by .m file
I have a myfile6.m function, it is a generic function with 1 input and 1 output. By following command: mcc -W cpplib:Your...

6 years ago | 1 answer | 0

1

answer

Question


Pass one mex file to another mex file
I have a mex file which is calling a matlab function "myfile5.m". function f3 = myfile5(in1,u) x1 = in1(:,1); x2 ...

6 years ago | 0 answers | 0

0

answers

Question


How to pass a user-defined function as a argument to mex file?
I am building a GUI for simulation of a control system. Users input a model in GUI, and I can obtain it as string type and then ...

6 years ago | 1 answer | 0

1

answer

Question


symbolic expression to function
The following code is to obtain a formula of calculating the determinant of the symmetric matrix. function [ yy ] = detF...

7 years ago | 1 answer | 0

1

answer

Question


XGrid and XTick with different space
I need draw a fine grid on a figure and keep the XY Ticks as the default one. To get the fine grid, I referred to the idea using...

7 years ago | 1 answer | 0

1

answer

Question


How to use one function handle to generate function handles returning different values?
For example, here is my function: function [ fy, fz ] = funtest( x,a ) fy = x + 1 + a; fz = x + 1 + a + 2*a; end ...

7 years ago | 0 answers | 0

0

answers

Question


create symbolic expressions when using ndgrid
I try to use function Ndgrid to get the grid coordinators. Such as [X1,X2,X3,...,Xn] = ndgrid(x1gv,x2gv,x3gv,...,xngv) ...

7 years ago | 2 answers | 0

2

answers

Answered
str2func vectorize input x1, x2 to x
You guys are the best.

7 years ago | 0

Question


str2func vectorize input x1, x2 to x
When using str2func, I find that I can do these things such as, str = 'x(1)^2 + 3*x(2)'; f = str2func(['@(x)' str]); ...

7 years ago | 3 answers | 0

3

answers