Answered
What Timezone Abbreviation does Java use for your location?
>> java.util.Date() % The date string display ans = Mon Feb 21 15:59:56 PST 2011 >> -ans.getTimezoneOffset()/60 ...

15 years ago | 0

Question


What Timezone Abbreviation does Java use for your location?
I am writing timezone sensitive versions of several MATLAB date related functions (datenum, datestr, datevec, etc) for eventual ...

15 years ago | 5 answers | 1

5

answers

Answered
What can the implicit type of mxGetPr return argument be?
mxGetPr returns a (double *) type and is typically only used for double class variables, although most compilers will let you ge...

15 years ago | 2

| accepted

Answered
Compiling MEX files with Visual C++ 2010 with matlab2009a
One way is to do the following: 1) Start with files that already work for a previous version, such as 2008, and then modify t...

15 years ago | 1

| accepted

Answered
MATLAB Engine : create and manipulate matrix "view" to memory owned by calling process
That will not work. In the first place your cellArray mxArray variable does not exist in the workspace, it exists in your progra...

15 years ago | 0

Answered
Why does EMLMEX generate a slow mex file?
Is your m-file code small enough to post? I would have expected that the emlmex routine would be calling the same functions that...

15 years ago | 0

Answered
C engine: rebuild required when MATLAB upgraded?
One problem with Engine applications is that they will start the MATLAB version that most recently executed a matlab/regserver, ...

15 years ago | 1

| accepted

Answered
How to create a 2x2 matrix out of 4 matrices?
You might also look at Bruno Luong's FEX submission for this particular problem: <http://www.mathworks.com/matlabcentral/file...

15 years ago | 0

Answered
Complex matrix inversion using LAPACK in MEX
No. That will not work. In the first place, after the loop converting the input arrays to Fortran format the zp pointer is point...

15 years ago | 0

Answered
Matrix Indexing
As an exercise in speed I wrote a mex routine to do this. It is faster then the previously posted m-code, but not by a huge amou...

15 years ago | 0

Answered
Generate random points inside a circle
FYI, if you wish to extend methods to higher dimensions, the randn methods are the way to go. Rejection methods in higher dimens...

15 years ago | 0

Submitted


mpower2 - A faster matrix power function.
mpower2 evaluates matrix to an integer power faster than the MATLAB built-in function mpower.

16 years ago | 1 download |

4.0 / 5
Thumbnail

Submitted


polyvalm2 - A faster matrix polynomial evaluator
polyvalm2 evaluates a polynomial with a matrix argument faster than the MATLAB function polyvalm.

16 years ago | 2 downloads |

5.0 / 5
Thumbnail

Submitted


num2vpi - Converts input exactly into vpi
Converts double inputs larger than 2^53-1, or char inputs with exponents, exactly into vpi.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Fortran mex routine mxGetClassName
A drop-in replacement for the TMW Fortran API function mxGetClassName routine that does not work.

17 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


swapbytes C-mex function
swapbytes(X1,X2,...) reverses byte ordering of each element, little-endian values to/from big-endian

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Moon Position
moonpos calculates moon position accurate to 10 arcsec. Based on Astronomical Algorithms, Meeus

17 years ago | 2 downloads |

5.0 / 5
Thumbnail

Submitted


Count "on" "off" or calculate simple "parity" bits of input
Three functions to calculate the number of "on", "off", or simple "parity" bits of input

18 years ago | 1 download |

1.0 / 5
Thumbnail

Submitted


Fortran mex: mxCopyCharacterToPtr and mxCopyPtrToCharacter
Drop in replacements for the Mathworks supplied functions of the same names that do not work.

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


Fortran mxCreateLogicalSparseMatrix
The Fortran version of the mxCreateSparseLogicalMatrix function for mex and engine apps

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


bwmorph c-mex example
This file is the c-mex equivalent of the example given in the bwmorph.m file comments.

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


fulltosparse (Fortran version)
This is a Fortran version of The Mathworks supplied fulltosparse.c, with realloc capability.

18 years ago | 1 download |

0.0 / 5

Submitted


bsxarg
bsxarg returns the physically expanded arrays associated with bsxfun

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


bsxfun
bsxfun is a functional substitute for MATLAB intrinsic of the same name

18 years ago | 2 downloads |

3.5 / 5
Thumbnail

Submitted


reshape0, reshaping with padding or truncating
A c-mex routine for reshaping with padding or truncating

18 years ago | 1 download |

4.0 / 5
Thumbnail

Submitted


Fortran Logical mex functions
Fortran mex routines for converting logicals to/from MATLAB mxArray variables

18 years ago | 1 download |

5.0 / 5

Submitted


engCallMATLAB (Fortran version)
engCallMATLAB is a Fortran routine giving engine equivalent of mexCallMATLAB function

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


intbitcopy and uintbitcopy
Exact bit copy of variable into signed int__ or unsigned uint__ of same element size

18 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


engCallMATLAB
engCallMATLAB is a c routine giving engine equivalent of mexCallMATLAB function

18 years ago | 1 download |

0.0 / 5
Thumbnail