view skewPart.m @ 874:95993ad2bd70

Add function to deal the fields of a struct to variables
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Nov 2018 14:10:02 +0100
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the skew of A
function S = skewPart(A, tol)
    S = 1/2*(A - A');
end