Write a function file f m to define the following system of
     Write a function file, f. m, to define the following system of equations. dx/dt = x + 3y dy/dt = 2x-y  Use the variable names t. z, and zprime for the independent variable, the dependent variable, and the first derivative of the dependent variable with respect to the independent variable. Notice that the dependent variable, z, and its derivative, zprime, must be vectors.  Now, suppose that you would use MATLAB\'s ode45 function to numerically integrate the system of equations. Let the initial values of x andy to be 2 and 4, respectively. Show a MATLAB script which will produce a time history ofx and y as a function off for 0 lessthanorequalto t lessthanorequalto 10. Your script must end with the plotting command: plot (t, x, t, y)   
  
  Solution
dx/dt=x+3y write a function file f,m
For discrete-time structures, xn(t) = x(T+Ts) with Ts being the sample time, and for continuous-time structures xn(t) = d/dt x(t). In addition, F(.) and H(.) are arbitrary linear or nonlinear functions with Nx (number of states) and Ny (number of outputs) components, respectively. Any of the model parameters p1, ..., pNpo as well as the initial state vector X(0) can be estimated. Worth stressing is that
here we include dy/dx=2x-y

