<t>Hi,I have coded up a quadrature methodology to price discrete barrier options in VBA, but I'm finding it difficult to convert into MATLAB.Could anybody please help.Th VBA Code is attached below:Function vaBarrierDownOutOptionQUAD#(iCallPut%, S#, K#, H#, r#, q#, tyr#, sigma#, nBarr%, ky#)' Uses va...