before the function might help.
Hi, I have a code in matlab where I have a function, f, defined in terms of x (x has so far not been used in the program). However, matlab thinks that x is a vector (1 x 7 double - 0 inf inf inf nan nan inf). How can I fix this to just have x as a scalar variable in the function? Thanks for any help