refer code ka matlab