First  |  Prev |  Next  |  Last
Pages: 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
reading from a .mat file to c++ code
Does anybody know whether mxGetCell() allocates memory, that is, its output mxArray* should be released by mxDestroy() after its use? The documentation says that it is possible that the function fails because 'Insufficient free heap space to hold the returned cell mxArray'. However, it looks a bit weird and ineffici... 3 Aug 2010 14:44
MZDDE toolbox question
I wish I could post the Zemax files with this message but oh well. Here goes. I have a few simple NSC system with 2 sources a null object (3), a paraxial lense and two detectors. I can push the update to the zemax file but the merit function does not seem to update. Furthermore, the pause statement seems like tr... 4 Aug 2010 10:18
Order of operations in a vectorized function
I was wondering if there is any documentation on the internal workings of vectorized operations. Specifically, I have programmed an iterative solver for a system of PDEs, and the next iterations values are found using a line much like this one: grid(:,:)=(-alpha.*(grid(:,:)+grid(:,:))-gamma.*(grid(:,:)+grid(:,:))-2*... 3 Aug 2010 20:14
cell, indicator, replacing
Hi all, I need your on this. Suppose I have the cells indicators 1,2,3,4; such as a{1},a{2},a{3},a{4} . How can I replace them with the new ones eg. 7,9,10,14, in order to have a{7},a{9},a{10},a{14} ? I'll apreciate any hint. Thx ... 3 Aug 2010 21:19
Free Matlab Figure Viewer
Is there a free tool to view Matlab figure (*.fig) files? ... 3 Aug 2010 13:38
Loading a file without complete filename?
Hello, I need to automatically load many files whose filenames have a date (MMDDYY) in the end. Some files might be replaced later on by other files with a different date only. e.g. a_b_c_d_111709 will be replaced by: a_b_c_d_080310 I need to keep opening the file regardless of the date in the end of the file... 3 Aug 2010 18:02
Plot data and dates
Hi, I'm working with wave and tide data and I have two vectors (one of waves data and another with tides data) that has different lenghts. Waves data starts in march 2008 and ends in march 2009, but the tides data starts on july 2008 and ends in march 2009 also. I'm trying to make a subplot 211 with the waves data ... 4 Aug 2010 07:03
extract the object from original image
hi, I am a computer science student. I'm learning matlab and I'm a beginner in matlab. I want to extract the objects from the sample image. I have outlined the image with the pixel value of 50 and I want the object to be stored in an array as a original image. I need to extract the image without converting th... 3 Aug 2010 12:32
LEVMAR with MEX
Hi, could you give any further details, how the final mex-compilation succeeded? I have successfully compiled a GotoBLAS2 library and downloaded pre-compiled lapack.lib and libf2c.lib (at http://icl.cs.utk.edu/lapack-for-windows/clapack/index.html#build%29.). I successfully compiled Levmar in C using MS Visual S... 4 Aug 2010 12:30
dlmwrite inquiry
Hello all, Question regarding dlmwrite. I looked through the forums and found some useful information regarding dlmwrite and fopen. I was able to use dlmwrite successfully to copy my data to a .csv. However, is there a way to insert a header for each column that you have data? I understand how to do it using fop... 3 Aug 2010 14:44
First  |  Prev |  Next  |  Last
Pages: 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102