First  |  Prev |  Next  |  Last
Pages: 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980
preallocating a cell array of strings
I am trying to pre-allocate a cell array of strings. I can do the following: test = cell(m,1); for i = 1:m test{i} = 'test'; end; unique(test); But I thought there may be a better solution somewhere. The main thing is being able to do unique(test); TIA ct ... 12 Apr 2010 11:24
preallocating a cell array of strings
I am trying to pre-allocate a cell array of strings. I can do the following: test = cell(m,1); for i = 1:m test{i} = 'test'; end; unique(test); But I thought there may be a better solution somewhere. The main thing is being able to do unique(test); TIA ct ... 9 Apr 2010 12:15
Registering CT images
http://www.mathworks.com/matlabcentral/fileexchange/26186-absolute-orientation-horns-method Yes, hunt around on the FEX: there are various functions for this sort of thing. If you have a small number of image pairs then there are landmark-based ways of doing image registration. Look at the image processing t... 9 Apr 2010 12:15
Unusual GUNZIP.m error
Hello. I have used Gunzip quite a lot before. never had this though. Have a website that has a large number (tens of thousands) of *CSV.GZ files on it in the form: http://mySite/myfile1.csv.GZ gunzip(url, myDesktop) When I try and use GUnzip I get the below error: The file works when I go to it in IE (a... 9 Apr 2010 22:17
Undefined symbols when linking with R2010a on Mac OSX 10.6
Hello--- I've written some code in C++ which I would like to compile with the Matlab MEX compiler. I am using the current release of Matlab (R2010a, 32-bit), which is running on Mac OS X 10.6.3 (Snow Leopard). I've installed the most current version of the XCode tools (3.2.2, 64-bit), which ships with i686-... 11 Apr 2010 02:37
please help me with the math
Quy Vo <nh0c.pr0kut3(a)gmail.com> wrote in message <1490617404.528454.1270803057569.JavaMail.root(a)gallium.mathforum.org>... ....... have a square with 5X5 in the square have 25 square little so how many square and rectriangle in that square 5x5 , ..... When you've finished that task for 5 x 5, do t... 9 Apr 2010 12:15
Playing sound using matlab
i am trying to hear a "gaussian wavelet (pulse)" generated as follows: x=zeros(); t0=500*(10^-3); Fs=44100; % SAMPLING FREQUENCY dt=1/Fs; t=0*(10^-3):dt:1; % TIME AXIS for index=1:length(t) x(index)=exp(-((t(index)-0.5*t0).^2)/0.0000500).*sin(2*pi*1000*(t(index))); end plot(t,x) wavplay(x,Fs) The ... 9 Apr 2010 12:15
caxis problem
I want to set colorbar to min = -0.001 max = 0.03 I used caxis([-0.001 0.03]); but it colorbar it looks from 0 to 0.02 can some one explain me how to fixed min and maximum. Regards ... 9 Apr 2010 11:08
Histogram normalization
Hi, I have a little statistical problem because at the begining i had a histogram representing the distribution of packets delay (in a network for exemple/between 2 entities for exemple). Now i have done a convolution of this histogram by itself and i dont know how to normalize the result in order to conform to the ... 9 Apr 2010 11:07
cg methods
Hi everybody. I'm using "cg" methods to play avi file by means of a cogent/matlab script in order to show different movie to my subjects (it&#8217;s a behavioural study) recording responses and reaction time. The core of the code I' m using is %%%%open graphic window 1280 x 1024), 32 bit per pixel, the fastest r... 9 Apr 2010 11:07
First  |  Prev |  Next  |  Last
Pages: 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980