Community Profile

photo

Ehi Eromosele


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Why is there an error? Undefined function 'f' for input arguments of type 'double'.
Error using arrayfun Undefined function 'f' for input arguments of type 'double'. Error in golden (line 3) plot(t,array...

10 years ago | 1 answer | 0

1

answer

Question


Why is there an error? Unbalanced or unexpected parenthesis or bracket.
Error: File: golden.m Line: 1 Column: 21 Unbalanced or unexpected parenthesis or bracket. function golden(sqrt(2),...

10 years ago | 1 answer | 0

1

answer

Question


Why is there an error when I called the function inputting the points
"Undefined function 'f' for input arguments of type 'double'. Error in linearinterp>refine (line 11) if abs((f(x1)+f(x2))/2-...

10 years ago | 1 answer | 0

1

answer

Question


Undefined function or variable 'x'. Why is there an error?
%Undefined function or variable 'x'. Error in linearinterp (line 2) f=(exp(-x/2).*sin(x.^2+8));% function l...

10 years ago | 1 answer | 0

1

answer

Question


Do I need to change to floating pts?
%Subscript indices must either be real positive integers or logicals. Error in linearinterp (line 5) plot(x, y, points, y(poin...

10 years ago | 1 answer | 0

1

answer

Question


Why is there arguments of type double?
function linearinterp x=linspace(-5, 2*pi, 30); y=exp((-x./2).*sin(x.^2+8)); %Error in linearinterp (line 4) %...

10 years ago | 1 answer | 0

1

answer

Question


Why is there error?
Error using exp Not enough input arguments. Error in linearinterp (line 3) y=exp.^(-x./2).*sin(x.^2+8); function lin...

10 years ago | 1 answer | 0

1

answer

Question


is there a problem with my operators???
EDU>> refine(0, 7, .1) Undefined function 'f' for input arguments of type 'double'. Error in refine (line 3) if abs((f(x1...

10 years ago | 1 answer | 0

1

answer

Question


Why do I keep running into errors???
function points=refine(x1, x2, tol) xm = (x1+x2)./2; if abs((f(x1)+f(x2))./2-f(xm))<tol points=[x1,x2]; else ...

10 years ago | 2 answers | 0

2

answers

Question


Why is there an error?
function chebyshev (a, b, numpolys) t=a:0.1:b; allp=zeros(numpolys, length(t)); for n=1:numploys x=(a+b)/2...

10 years ago | 1 answer | 0

1

answer

Question


Error: File: box.m Line: 23 Column: 21 Unbalanced or unexpected parenthesis or bracket.
function box(a,b,c) tol=10^(-15); X=[a;b;c]; Y=F(X); disp(' n a b c |F(X)|'); n=0; w...

10 years ago | 2 answers | 0

2

answers