On calculating gradient matrices | IEEE Journals & Magazine | IEEE Xplore