This paper deals with the synthesis of an observer based optimal control using the Block Pulse Functions (BPFs) parametrization technique. This tool transforms the optimal control problem to a mathematical programming problem that can be solved numerically. The importance of the proposed technique for the synthesis of the state observer with optimal control via BPFs has been illustrated through a numerical simulation study on an aircraft system model, which has highlighted the effectiveness of the developed method.