Beantwortet
emlc mxArray issue
The LOGSIG function is not supported for code generation, so you must have declared it extrinsic. Read the documentation about ...

etwa 15 Jahre vor | 0

Beantwortet
MATLAb Integration
Walter's suggestion of symbolic integration might work in some cases. Barring that, the only integration function that works on...

etwa 15 Jahre vor | 0

Beantwortet
Integration using quadl with complex arguments
You cannot carry forward the dependence on 's' using simple variables. Let me restate Titus' suggestion in stronger words. Do ...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Bug in single/double operations?
It appears to be something to do with the MATLAB JIT-Accelerator. I'm going to say it's probably unintentional. :) I have t...

etwa 15 Jahre vor | 0

Beantwortet
Numerical integration like dblquad allowing a vector input rather than scalar
Well, first of all, although it is preferable on a few narrow classes of problems (e.g. a region with a 1-D discontinuity snakin...

etwa 15 Jahre vor | 2

Beantwortet
Minimization functions of the optimization toolbox
Do you mean for MATLAB? As far as I know, there's no technical reason why the functions cannot be adapted for code generation. ...

etwa 15 Jahre vor | 0

Beantwortet
implementing a function that contains an integral
Well, as an aside, you shouldn't need to use 'inline', rather myfun = @(a,t,v)(blah, blah, blah) Secondly, I don't ...

mehr als 15 Jahre vor | 0

Beantwortet
Need help with complicated Legendre function to be integrated
I haven't looked at your example in any kind of detail, but I wonder if you're aware that QUAD requires your function to operate...

mehr als 15 Jahre vor | 0

Beantwortet
Why does EMLMEX generate a slow mex file?
Using emlmex to speed up FFT/IFFT is not generally possible. MATLAB already uses FFTW, which is compiled and optimized, selects...

mehr als 15 Jahre vor | 1

Beantwortet
Changes to QR factorization: qr()
Seems like unless Z were unitary already, those would be different transforms in 10b as well as in 11a. Since Q is definitely u...

mehr als 15 Jahre vor | 0

Beantwortet
Does codegen handle qz?
If you go with an extrinsic call, your call site should look something like one of these two. The pre-definition of the output ...

mehr als 15 Jahre vor | 2

Beantwortet
Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.
Unfortunately, I don't have a lot of experience trying to do this kind of thing, so I apologize in advance if there are helpful ...

mehr als 15 Jahre vor | 1

| akzeptiert

Beantwortet
Does MW own copyright on C code generated by Matlab?
I don't have anything to add to the legal answers above. Technically, however, you'll find that the things that are supported...

mehr als 15 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab Integration
If you have an ODE of the form dy/dt = f(y) then you just need to do something like [t,y] = eulode(@(t,y)f(y),tspan,y0,h) --...

mehr als 15 Jahre vor | 0

Beantwortet
Lookup Table the floor value
For a table x,y with x sorted ascending, you can do a linear time lookup for the value xi in the "floor" sense via y(find(x...

mehr als 15 Jahre vor | 0

| akzeptiert

Beantwortet
Algorithm for 'coeff' scaling of xcorr?
xcorr(a,b,'coeff') = xcorr(a,b)/(norm(a)*norm(b)) except that I think xcorr with the 'coeff' option actually computes norm(a)...

mehr als 15 Jahre vor | 3

| akzeptiert

Beantwortet
It will occur error when Function sparse is used in simulink model
Indeed, SPARSE is not supported, and if you declare it extrinsic, the result will be a MATLAB type (mxArray), which you cannot d...

mehr als 15 Jahre vor | 2

| akzeptiert