R2009b 64 loadlibrary problem
Hi, I am running R2009b 64-bit on a windows 7 pc. I am having trouble loading a library, when I use the load library function the following error message is generated:- ??? Error using ==> loadlibrary at 367 Failed to preprocess the input file. Output from preprocessor is:'cl' is not recognized as an internal ... 5 Feb 2010 02:51
Gui (hold on, max, min, correlation)
Hey, im doing a program in gui. I have the radiation of a year(for each day starting from june 2006 finishing may 2007) and i did a program in gui in which you can select year month and day and it plots the radiation during the day. i was wondering if you could tell me how would i add hold on in my gui program so tha... 4 Feb 2010 08:51
lsqcurvefit with function of multi variables and vector return value
Does lsqcurvefit(fun,x0,xdata,ydata) can deal with the problem below? xdata has the following form 1 (x1,y1,z1) 2 (x2,y2,z2) .... n (xn,yn,zn) ydata has the following form 1 (u1,v1) 2 (u2,v2) .... n (un,vn) fun has the following form Y = f(a1..ak,x,y,z) a1...ak are coefficients. Y= (u,v) i... 4 Feb 2010 07:45
Measure force from a pneumatic piston chamber
Hello everybody, I need to measure the force from a pneumatic piston chamber: I've linked it to an ideal force sensor in this way: - Pneumatic piston chamber: port A to a controlled pneumatic pressure source (and in between there's a constant area pneumatic orifice), port C to a Mechanical translational reference,... 4 Feb 2010 07:45
constrain normrnd to two standard deviations
Hi, generating 30 random normally distributed numbers with NormalRnd = normrnd(0.4,0.1,30,1); Is there an easy way to constrain normrnd so I only get values 2SD around the mean? I just want 30 normally distributed values between 0.2 and 0.6. Ive searched the newsgroup, and google for 'constrain normrnd' and ... 4 Feb 2010 14:34
rolling GARCH with forecasts
Hi all, I am looking for a code, taking raw data as input and producing rolling GARCH parameters and forecasts at the chosen window and horizon. I have seen some attempts in this forum, but nothing finalized. I am not a programmer yet, but I need the GARCH application for my academic work before I can learn... 4 Feb 2010 05:33
3d cube to 3d cylinder
Have anyone this idea how i can get a cylinder out of cube. radial projection approch ... 4 Feb 2010 05:33
Matlab statement problem
Hello. I am a pretty new matlab user and I have run into a little prolem. I am trying to enter the following command : dsolve('1*D4y+0.45*D3y-0.165*D2y+0.0045*Dy-0.00175*y=0','y(0)=17.4', 'Dy(0)=(-2.82)', 'D2y=2.0485', 'D3y(0)=(-1.458675)') When I run this I get the error : There are more ODEs than variables. ... 4 Feb 2010 05:33
c mex file and problems with reallocation of the memory
Hello to you all, i've been struggling for a while with my first mex file. Basically it is a simlpe program with 2 for loops, one along i and one along j. If some condition is satisfied i need to remember the specific i,j pair. So in the end i want to have a [? x 2] matrix. The complete code is written bellow. I am ... 4 Feb 2010 13:25
How to assign RGB value to data...?
I have generated a cube data for all the faces of a cube. What I want to do now is, assign a different color to each face data i.e. say red to one face data, blue to other face and so on. But the data coordinate (x,y,z) should not be change. please keep in mind that data are scattered data. Can anyone help me....plzz i... 9 Feb 2010 02:55