mtlb_conv - Matlab conv emulation function (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Compatibility Functions > mtlb_conv

Matlab conv emulation function

Description

Matlab conv and Scilab convol behave differently in some particular cases:

The function mtlb_conv(u,v) is used bymfile2sci to replace conv(u,v) when it was not possible to know what were the inputs while porting Matlab code to Scilab. This function will determine the correct semantic at run time. If you want to have a more efficient code it is possible to replace mtlb_conv calls:

Scilab convol sometimes returns values that may be rounded using clean to have a closer result from Matlab one.

Caution: mtlb_conv has not to be used for hand coded functions.

See Also