The present paper reports two new window functions viz. piecewise linear window function and nonlinear window function for modelling of the nanostructured memristor device. The piecewise linear window function can be used for modelling of symmetric pinched hysteresis loop in I-V plane (for digital memory applications) and the nonlinear window function can be used for modelling of nonlinear pinched hysteresis loop in I-V plane (for analog memory applications). Flexibility in the parameter selection is the main attractive feature of these window functions