OPEN CHANNEL FLOW profiles
I need a matlab scripts developed for >>>improved euler method, standard step method and fourth order Runge kutta method and simultaneous solution method. USING EACH METHOD >M1, M2, and S3 profiles has to be plotted . Plots should contain bed elevation , normal depth, critical depth lines.in case of M1 profile , s... 15 Nov 2009 05:41
How to use callAllOptimPlotFcns
Hi, I am using Matlab optimization tool box and I want to plot the value of the function being optimized as well as the value of its parameters. I want all the functions to be plot so I set: PlotFcns = {@optimplotx,@optimplotfunccount,@optimplotfval,.. @optimplotstepsize,@optimplotfirstorderopt}; My problem i... 15 Nov 2009 23:17
error compiling s-function for rtw xpc device driver
I am trying to read in data off a serial port on an xpc target device, I have code that works in an older version of simulink but our computer died, so I am temporarily running off a different computer w/ matlab2007a and having compile issues, I got the compile twice problem fixed and i am using MS VC 6.0. My problem ... 20 Nov 2009 10:04
textscan?
How does textscan work? I have tried to read in a vector from a text file and save it into vector to be used in my program but I only get something like this when I try to access the variable I am saving it into. [124x1 single] This is how I use the code: filterfileB1 = 'something.txt'; fidB1 = fop... 14 Nov 2009 11:07
using fmincon with high dimension optimization
Hi, I need to estimate 11 parameters by using fmincon with linear inequality constraints and bound conditions. I supplied the gradient and hessian of objective function. function [LLH,G,H] = Objf(params,data) [x, f, EXITFLAG, OUTPUT] = fmincon('Objf',... InitialParams, sumA... 18 Nov 2009 08:55
mclmcrrt73.dll
I am trying to run the phluke phinder program from metlab but it continues to say that mclmcrrt73.dll could not be found to complete the installation. I have loaded several different execute files of various sizes but no luck. any suggestions? ... 14 Nov 2009 03:34
Cast calllib result to a struct pointer?
I have a DLL function that returns a char* but I need to cast this to a struct*. Specifically I am trying to use the cvGetSeqElem() function from OpenCV (http://opencv.willowgarage.com/documentation/dynamic_structures.html#cvGetSeqElem) like this: cvRect = calllib('cxcore', 'cvGetSeqElem', cvSeq, 1); where cvSeq ... 14 Dec 2009 02:18
How to close Excel workbook from Matlab
I tried it but got the following error and wonder if you can give some help? Many thanks! wbkname = 'whatever'; h = actxGetRunningServer('Excel.Application'); h.WorkBooks.Item(wbkname).Close; ??? Invoke Error, Dispatch Exception: Invalid index. "Ilya Rozenfeld" <rozeni.nospam(a)alum.rpi.edu> wrote i... 13 Nov 2009 13:16
Interpreting data from multcompare
I am having difficulty interpreting what the final paragraph below means in the quoted multcompare help section: "For example, suppose one row contains the following entries. 2.0000 5.0000 1.9442 8.2206 14.4971 These numbers indicate that the mean of group 2 minus the mean of group 5 is estimated to be 8.2... 13 Nov 2009 15:31
Fsolve, CAT error : CAT arguments dimensions are not consistent
Hi firends I want to solve the set of non linear set of equitations as follow : (I define them in Function Che1) : function y = Che1(x) R = 8.314; T = 1000; DF_CH4 = 19720; DF_H2O = -192420; DF_CO = -200240; DF_CO2 = -395790; RT = R*T; y = [ DF_CH4/RT + log(x(1)/((x(1)+x(2)+x(3)+x(4)+x(5)))) + x(6)/RT + 4... 16 Nov 2009 16:54