CIS2-Admittance-Control / is_equal_tf.m
is_equal_tf.m
Raw
% This function Checks if two given continuous transfer function are nearly
% equatl
% This function was retrieved from 
% https://www.mathworks.com/matlabcentral/answers/578373-how-to-check-if-two-transfer-functions-are-the-same
% Created: Bill Tubbs on 6 Nov 2020
function [c,absk] = is_equal_tf(G1,G2) % Checks that transfer functions are equal or not
    [c,absk] = almost_zero_static_gain_tf(G1 - G2);
end