First  |  Prev |  Next  |  Last
Pages: 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
tsearchn for non-convex
Is there an alternative to tsearchn that works for non-convex domains (tetrahedron mesh in 3d, triangle mesh in 2d)? I wrote my own, but it is very slow (it needs to be called a huge number of times in the package I work on). My version just finds the closest points and then searches all the nearby tetrahedrons/triangl... 28 Jun 2010 13:55
Reading Excel Data into a list box
"Maxx " <chatskom(a)chemimage.com> wrote in message <i0ahh2$t43$1(a)fred.mathworks.com>... Hello all, I cannot figure out how to read data from an Excel sheet into a listbox. The only thing I can find is the 'List Box Tutorial - lbox.m' on the MathWorks website, which works with directories. I'm working with data ... 28 Jun 2010 13:55
MEX sparse array problem in saving
Hello everyone, I have been trying to use MEX files to generate a sparse matrix Strangely when the MEX call returns back to MATLAB I can access the sparse matrix S and its elements perfectly fine.. When I query size(S) - it shows me the expected m*n. nzmax(S) shows me the actual number of elements in S - However... 29 Jun 2010 04:09
Envelope detector
Hello i want to create an envelope detector to demodulate AM. a(t)=x(t)+j(hilbert(x(t)) The envelope of x(t) should be then abs(hilbert(x(t))) ?????? ... 28 Jun 2010 15:02
How to use PWork properly
Hi, I've a problem with making a c++ object persistent in a c++ s-function. I tried it on different ways, but Matlab always crashes... In the mehtod "mdlInitializeSizes" I do "ssSetNumPWork(S, 1)" to initialize a PWork for the object. In the mdlStart method I tried the following: void ** tmp = ssGetPWork(S); ... 29 Jul 2010 18:29
Torrence and Campo CWT code related
Hi, am trying to use the continuous wavelet transform code and having some difficulties. My goal is to perform cwt within the frequency range of 30-120 Hz and also I am trying to use at least 10 scales per octave. I am confused about the parameters "dj" and "s0" in the wavetest code that came with the package. If a... 29 Jun 2010 07:26
Read Image from RAW (image data before demosaicking)
Hello, Does anyone know how I can open a RAW image (preferably .RWL taken from a Leica camera) such that I can see the data straight from the sensor before color interpolation? For example, for pixel 1,1 I expect to see a value representing the Green, but a zero for Red and Blue... Any help would be greatly appr... 28 Jun 2010 13:55
convert a number to string
Hello guys, i am interested to write down a variable with strings + numbers... a=[2 3 4] channela(1)=1;....i.e channel1 channela(2)=2;...i.e channel2 channela(3)=3;...i.echannel3 How can convert a(1) in string...i suppose is with the command num2str, but how it works to get channel1? Thanks, ... 28 Jun 2010 16:09
plotting colors
Hi, I have 3 sets of data to plot. two of the sets are time and numerical data which go on the x and y axis respectively. The other set of data is degree values (0 to 180 degreees). I want to plot a line on a graph and I want that line to be red if the data is above 45 degrees (the degree data that corresponds to the n... 28 Jun 2010 22:45
Callback syntax
I consider myself quite savvy at this sort of thing but this is really doing my head in, I have probably spent a whole afternoon trying to figure out the syntax for a callback... Please help! Callback to be called (not based on GUIDE), when value in textbox changes function var_edit_callback(hObject,eventdata,han... 28 Jun 2010 13:55
First  |  Prev |  Next  |  Last
Pages: 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391