Script for automatic research in NIST database
Hi everybody, I want to get the list of energy levels of an element available on the NIST website for spectroscopic calculations. (URL: http://physics.nist.gov/PhysRefData/ASD/levels_form.html) If you type "h i" in the spectrum query and hit the "Retrieve Data" button, you obtain the list of energy levels of the at... 15 Mar 2010 18:08
ode and fminsearch function in the same file
Hi, Can any one explain how can I use fminsearch and ode functions in the same m-file. I have to solve nonlinear equations (which is 6 equations with 6 unkowns) ,then the values I obtain from the above equations will be used in the differential equations. As these equations are in the loop, for the second iteration... 14 Mar 2010 20:59
storing vectors of multiple lengths in for loop
I am trying to store a bunch of vectors which are returned from a function being used in a for loop. The function called 'function' will return a vector (of undetermined varying length) depending on the data fed into it (from Dataset). for i = 1:40 Results(i,:) = function(Dataset(i)); end The only way I've ... 15 Mar 2010 03:31
Power set of a set
chariya peterson <chariya(a)kong.gsfc.nasa.gov> wrote in message <35D363FD.B308740C(a)kong.gsfc.nasa.gov>... This is a multi-part message in MIME format. --------------3F72E903FF68C8C5D4D0D7BA Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> Hi, <BR>Sorry for duplica... 18 Mar 2010 23:27
parfor performance problem
Greetings, I need help for anyone who have experience about using parfor, I try several times to parallelize the game of life Celular Automata, the normal code looks like: clear all; %Size of the matrix m=100; n=100; %Iterations iter=1000; X=zeros(m,n); %Random matrix fill p1=0.9; for i=2:m-1 f... 14 Mar 2010 20:59
multiple curves in one plot
Hi there, I made a function f(n) in matlab... the output of f(n) is a symbolic function... Now I need to plot f(n) for n=2,3,4,...,8 so I have to plot 7 symbolic functions and the curves must be in one plot with axes x from 0 to 3 and y from 0 to 1 I've tried different things but only ezplot can plot a symboli... 14 Mar 2010 20:59
One more question about RandStream
Should the following two methods generate the same random numbers? h = RandStream('mt19937ar', 'Seed', 0); rand(h, 1, 3) ans = 0.8147 0.9058 0.1270 rand('twister', 0); rand(1,3) ans = 0.5488 0.7152 0.6028 ... 14 Mar 2010 18:46
matlab code for nonlinear regression
I am wroking on a problem that requires me to use the nonlinear regression for estimation parameters. I need matlab code? Thanks ... 16 Mar 2010 11:21
imwrite image in an array
Hi i have the same problem. I want to store the captured frames as separate files. But as same I am able to store only one frame image. If you could help me storing frames in loop i would be delightful thank you for helping. I also send ImageAnalyst a mail about this problem. ... 14 Mar 2010 17:39
Urgent Help
I am a newbie, very newbie in MATLAB. I am trying to solve a set of equations that looks like this... [Pxa Pya 0 0 0]' = [constants]*[0 0 Ua Va Mza]' I need to solve Pxa, Pya, Ua, Va and Mza... What shall I do to solve them. ... 16 Mar 2010 03:32