xcos defined function for flat top sampling

how to correctly write a code for an xcos customized block that will generate a flat top sampling from the inputs natural sampling and rectangular pulse. please help huhhuhuhuhh

Scilab Toolbox Signal Processing Toolbox 15-06-21, 10:12 p.m. ECE508

Log-in to answer to this question.