Plotting intermediate fits Hello, I have multipeak 1-D data that often takes a lot of steps to converge after specifiying initial guesses. The fit ends up being rather good most of the time, but sometimes, initial guesses are a little off, and the fit goes haywire. The whole fitting process takes a lot of time (typically - 3 minutes ... 11 Aug 2010 13:38
how to extract the time derviatives in from ode functions I am using the ode solvers. I want to extract the derivatives from the ode solver too. For example: function dy = fun(t,y) dy = zeros(2,1); dy(1) = y(1)*y(2); dy(2) = -0.5*y(1)*y(2); end [t,y] = ode45(@fun, [0 10], [0 0]); I obtain 'y' by solving this. However, I require 'dy' at the various 't' too... 9 Aug 2010 17:54
2D gaussian fitting using Surface Fitting Tool I have similar problem but I need to fit multipeak Gaussians. I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image). I want to model my z data with Gaussians,but not only one Gaussian, it needs to detect peaks, cluster them and fit Gaussians Is there such a packag... 9 Aug 2010 17:54
Problem with Probabilistic Neural Network (PNN) I have some variables.. I am putting the dimensions below... P <672x1500 logical> Tc <1x1500 double> (Tc do not have any 0's) now when I want to run PNN with these variables, T = ind2vec(Tc); % this line works fine... it shows a result of T <15x1500 double> but... net = newpnn(P,T); % this line shows e... 11 Aug 2010 18:02
Matlab 2010a Slow Editor I've seen a lot of posts on this but no fixes. I just moved up to 2010a from 2007b (32 bit Windows XP) and took a massive editor performance hit. It seems to get worse as the size of the .m file increases. It also seems to get better if I kill Matlab and re-start. I have one .m file at about 7000 lines and it's ver... 12 Aug 2010 01:43
Contouring directional data in polar co-ords I have directional wind/wave data in a three columnar matrix X(compass direction in radians), frequency (hz) and magnitude. I would like to contour this data on polar co-ords. I am having touble gridding the magitude (Z) data so I able to use either the polarcont (http://www.mathworks.com/matlabcentral/fileexchange/148... 9 Aug 2010 16:47
Image segmentation with threshold Hello Chritopher I was trying the code that you posted with the same image, but I'm getting an error saying "Error using ==> rgb2gray>parse_inputs at 82 MAP must be a m x 3 array. Error in ==> rgb2gray at 35 X = parse_inputs(varargin{:});" I have a similar image that i needs to threshold but even I'm get th... 9 Aug 2010 16:47
High Frequency Digital I/O Hello, I'm currently using the Data Acquisition Toolbox to control and read instrumentation off of some hardware using NI DAQ cards. Some of the inputs that I'm reading are digital. I'm trying to figure out if there's a way to read the digital data in the same way as the analog inputs. That is, I start a test up by ... 11 Aug 2010 11:26
Multiple input files Hello I am analysing several no of input files in a single program. My input files are accelerograms recorded during earthquakes. Each file contains around 10,000 data points. The program is not able to analyse for all input files at one go. Could you suggest me a way to do that. Thank you Jet ... 9 Aug 2010 16:48
set of linear equations with uncertainty Hello, I have two measurement matrices - A and b - with which I can set up the matrix equation Ax = b. I have been solving for the x matrix in MATLAB by using the following: x = pinv(A)*b, and so far this has given me pretty good results. However, thus far I have not taken the measurement uncertainties in A an... 11 Aug 2010 11:26 |