DS in Matlab These codes are for pedagogical demonstration purposes only. They are highly inefficient: THEY SHOULD NOT BE USED FOR BENCHMARK