strange behaviour of spectrogram Hi, I am using the spectrogram function of matlab and I am some problems for understanding its behaviour: S = spectrogram(x,[],[],512); for t = 0:0.01:26; x = cos(8*pi*t) + cos(16*pi*t); it gives me S with 257 rows while for other kind of signals x S becomes with 512 rows (as I ask) Is there any reaso... 11 Aug 2010 13:38
Get minimum of the sum of 12 consecutive numbers in an array of 48 I need to determine the minimum of each 12 consecutive in an array of 48 in simulink. So what i have is a feed in of an array (48x365) which is half hourly electricty cost data for each day. I need to get the time to start storing, over 6 hours which will be the minimum of 12 consecutive numbers in the array. Any ideas... 12 Aug 2010 13:40
scaling of eigenvectors Hello! I want to solve the generalized eigenvalue problem (A - lambda*B)x=0 . The eigenvectors have to be orthogonal to B, i.e. x'*B*x=I, where I is the identity matrix! With the standard command [eigVec,eigVal] = eig(A,B) the eigenvectors in eigVec are not orthogonal to B! How can I do that in MatLab? Thx a... 11 Aug 2010 12:32
Hypergeometric2F1 When trying to solve a differential equation in Mathematica I got Hypergeometric2F1[1-(rho/A), 1-(rho/A),-e^(A*t-C[1])*epsilon*lambdaA] as an output. Unfortunately I lack knowledge about hypergeometric functions. Can anybody maybe tell me whether it is possible to turn this output into a 'normal' equation and if... 11 Aug 2010 20:14
GUI open function The OpeningFun() runs before the GUI is visible. My question is: Is there a way to have initialization code run, without user input, after the gui is visible? Thanks, JZ ... 11 Aug 2010 15:49
sb in lda formula- ( between scatter) if anybody can refer to my earlier posts in which i have put a function on lda, MY DOBUT IS IN THIS FORMULA,ACCORDING TO THEORY, sb=sb+nums(i)*(means(i,:)-allmean)'*(means(i,:)-allmean); nums(i) such term is not there in formula of lda;. i dont understand why this nums term. if anybody ... 12 Aug 2010 20:16
Freeing memory. Return contiguous virtual address space Hi, Does anybody know how to free up the memory taken up by a figure after it is closed? For example I start off with enough memory when matlab starts memory Maximum possible array: 1208 MB (1.267e+009 bytes) * Memory available for all arrays: 1540 MB (1.615e+009 bytes) ** Memory used by MATLAB:... 13 Aug 2010 04:53
Record a movie I've just had a flash of inspiration. It's because of the stepsize, isn't it ? Because I calculate A(i) only every stepzize there is a lot of "uninitialized frames. ... 12 Aug 2010 11:28
finish initializing berfore executing startup.m Hello everybody, I have a problem using startup.m I want an m-file to start automatically when opening MATLAB. So I called it startup.m This works fine, but I would like MATLAB to finish initializing before the m-file is executed. Is this possible? ... 11 Aug 2010 14:44
Start m-file when new csv-Data available Thank you everybody. Now I have several possibilities. I will try it now. Thanks for your help! ... 11 Aug 2010 11:26 |