From: John on 12 Feb 2010 14:54 I am trying to follow this thread here: http://mathworks.com/matlabcentral/newsreader/view_thread/86473 I have tried both the techniques outlined there to run that example (on MATLAB 7.6.0 R2008a) but whatever I try, I keep getting this error: >> [x,fval] = fminbnd(@tcf, -100, 100, [], a, b); ??? Undefined function or method 'tcf' for input arguments of type 'double'. Error in ==> fminbnd at 212 x= xf; fx = funfcn(x,varargin{:}); Can someone help me with the problem?
From: Torsten Hennig on 14 Feb 2010 16:29 > I am trying to follow this thread here: > http://mathworks.com/matlabcentral/newsreader/view_thr > ead/86473 > > I have tried both the techniques outlined there to > run that example (on MATLAB 7.6.0 R2008a) but > whatever I try, I keep getting this error: > > >> [x,fval] = fminbnd(@tcf, -100, 100, [], a, b); > ??? Undefined function or method 'tcf' for input > arguments of type 'double'. > > Error in ==> fminbnd at 212 > x= xf; fx = funfcn(x,varargin{:}); > > Can someone help me with the problem? Bear in mind that the function x^3/(x-1) has a pole at x=1 ; so the integral from 0 to 2 does not exist. Best wishes Torsten.
|
Pages: 1 Prev: Input a few vectors in order to generate a "Vector Field" Next: Extract the portion from image |