First  |  Prev |  Next  |  Last
Pages: 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588
Locating GUIDE Gui Figure Handle/Passing Data
Hi again, I am trying to pass data back and forth from a GUIDE Gui (gui.m) to another .m function (let's call it function.m). To pass data from gui.m to function.m i'm using handles as a parameter-that is, I call it as function(handles). I can also update the Gui from the function by doing something like: set(han... 31 May 2010 21:51
Generate random numbers from a particular function
Hi all, I need to generate RN's from a double hyperbolic tangent function. f(x) = p(1) .* (tanh((x - p(2)) ./ p(4))- tanh((x - p(3)) ./ p(5)) I can't do it using the inverse-transform method because it's not possible to solve for x. Does anybody know of a routine that works the Composition, or convolution or a... 2 Jun 2010 07:37
Setting alphadata on superimposed transparent image affects underlying image.
Hello all, I've been working on some code that (at the most basic level) goes through every frame of an uncompressed AVI file and superimposes a transparent PNG file at a user-specified location on each frame to create a new video. The code essentially works, except for two bugs, one of which doesn't appear to ha... 31 May 2010 19:41
Chinese to Englisch conversion- Matlab comments
I would like to see some comments in a matlab program which is given in Chinese language and it doesn't show up correctly. So is there anyway to see it in English? If so it would be great if you could help me with this issue. ... 31 May 2010 19:41
loops
dear all how to write a for loop to get the range of numbers from 0<=1 by incrementing 0.001 ... and store the output values in a vector ? ... 2 Jun 2010 10:54
Local Gabor Binary Pattern Vectorization Problem
Hi, I am trying to vectorize the following function used for getting a LGBP of an image, is it possible to improve this code in any ways? Thanks . function lgbp = LGBP(EO, nscale, norient) [rows cols] = size(EO{1,1}); lgbp = cell(nscale,norient); for v = 1:nscale for mu = 1:norient lgbp{v,... 1 Jun 2010 05:24
Generate random numbers from a particular function
Hi all, I need to generate RN's from a double hyperbolic tangent function. f(x) = p(1) .* (tanh((x - p(2)) ./ p(4))- tanh((x - p(3)) ./ p(5)) I can't do it using the inverse-transform method because it's not possible to solve for x. Does anybody know of a routine that works the Composition, or convolution or a... 31 May 2010 19:41
Faster custom spectrogram code
Does anyone have any ideas on making the following code faster? offset = [1:step:length(x)-win_size]; S = zeros (n, length(offset)); for i=1:length(offset) S(1:win_size, i) = x(offset(i):offset(i)+win_size-1) .* window; end I'm running through sections of long high sample rate wave files (250k... 31 May 2010 18:34
Derivatives in Embedded Matlab
Hi there, In Simulink, I'm trying to differentiate a function with respect to a non-time variable. So I created an embedded matlab function and wrote down the following: function phi = func(B) syms x; phi = diff(cosh(B*x)-cos(B*x)...),x); This function works if called from Matlab console, but with Simulink i... 1 Jun 2010 15:17
creation of a cornea simulation
hi there. I have a problem with my scipt with which i am trying to create a cornea topography simulation. My data are, [THETA,RHO]=(0:pi/180:2*pi,0:0.1:4)( what i ve done is to take 40 wavefront measuremets per degree and for 360 degrees) where THETA is the angle, and RHO is the radius. Z is the curvature... 31 May 2010 16:22
First  |  Prev |  Next  |  Last
Pages: 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588