It is similar to the situation on the SHO, which has a Yamaha designed and built engine. Nissan calls it "variable intake system": "Variable Intake... variable air in take system features an in take manifold that "breathes" differently at high and low rpm. You get rich torque off the line; then, as speeds rise, a shorter air flow path opens to unleash deep reserves of passing power."
The engine also has variable valve timing "....extremely advanced Continuously Variable Valve Timing Control System makes constant, precise adjustments to the opening and closing of the valves based on rpm and throttle position. Which ultimately delivers optimum power and emissions."
The Maxima page has a couple of animations
POWER