hello there if there is a function that depends on 3 variables t,x and y [f(t,x,y)] but inside this function is another function that is independent on y [g(t,x,?)], how do I tell matlab to ignore the y term?

# MATLAB: Help needed with variables within functions!!

dimensionsvariables

###### Related Question

- What does the tilde (~) in the following code mean
- Is the parameter-value argument pair incorrectly interpreted as an optional argument by the function INPUTPARSER in MATLAB 7.8 (R2009a)
- Passing extra arguments to `nlinfit` function
- How to apply runge kutta method for system of equations that are coupled ODE’s? like x1’= -3*x2 and x2’=(1/3)*x1? I tried the code below but get an error on function define saying too may input arguments.

## Best Answer