mclmainFcn
Dear All, I am trying to do the example (MATLAB to C++) in the compiler user guide (http://soliton.ae.gatech.edu/classes/ae6382/documents/matlab/mathworks/compiler4_2007b.pdf) ( see pages 148-150) but the problem is that I get an error in compilation: matrixdriver.cpp: In function ‘int main()’: matr... 20 Mar 2010 21:03
mclmainFcn
Dear All, I am trying to do the example (MATLAB to C++) in the compiler user guide (http://soliton.ae.gatech.edu/classes/ae6382/documents/matlab/mathworks/compiler4_2007b.pdf) ( see pages 148-150) but the problem is that I get an error in compilation: matrixdriver.cpp: In function ‘int main()’: matr... 20 Mar 2010 21:03
Write to next empty cell?
Hello, I am trying to do the same thing as Matthew and downloaded officedoc, however, when I try to open the file (using: [file,status,errMsg] = officedoc('testfile.xls', 'open', 'mode','append'); ) I get the following error messages: ??? officedoc: Undefined function or method 'actxserver' for input arguments o... 24 Mar 2010 20:30
Slider - random numbers missed out
Hi, Ive made a GUI with a slider bar. I really dont understand one of my slider bars because it misses random numbers out. If i move the slider up and down, its the same numbers that are missed out but there is no logic to it. The step values are, x resolution is 0.001 and the y resolution is 0.5. Max value is... 20 Mar 2010 22:10
Find all possible alternative arrays
I have a binary matrix A (3x7): A = 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 I would like to w... 21 Mar 2010 17:20
Linking MySQL using VQB
Hey I have a MySQL database on godaddy.com. I have all the details necessary. I am following all the instructions on the documentation provided with MATLAB. But i consistently get a "JDBC Driver error:name.Driver not found/loaded" when i try to define JDBC data source I get a dialog for entering my uname and pwd. ... 22 Mar 2010 04:58
Parallel computing numerical solutions to system of ODEs
Hello, I have a system of hundreds of coupled ODEs that are being solved explicitly. I am using a standard RK4 algorithm to solve my system at each time step, and the solution at each time step is solely dependent upon the preceding time step: y_n = y_n(y_(n-1), dt) What I am trying to do is basically the f... 20 Mar 2010 17:44
Elegant hysteresis calculation help
I want to implement a hysteresis on a vector of values. Equivalently, I want to replace zero values with the previously occurring non-zero value. For example, [1 1 1 0 0 0 -1 -1 0 -1 1 0] => [1 1 1 1 1 1 -1 -1 -1 1 1] I'm looking for a solution more elegant than a for loop but it is eluding me. Performan... 20 Mar 2010 21:03
xcorr2 vs. normxcorr2
Why normxcorr2 function is much faster than xcorr2 function for processing two images? From my understanding, normxcorrs needs even more computations? Thanks for any help! JS ... 21 Mar 2010 02:44
xlim/ylim causes axes position to be wrong
I just solved a (minor) problem that's been (minorly) bugging me for years. I make a plot matrix (not using the plotmatrix command, but same idea) that's supposed to have exactly 1 pixel between each axes. However the resulting plot ends up having 0 pixels between some axes and 2 pixels between others. (I know this sou... 20 Mar 2010 17:43