Solved
StuartBruffAnswer
23-Emerald V
vetri veeran wrote:
I am getting error as 'this value must be a matrix of scalar elements'
I attached my code below.
Can anyone help me.

Stuart
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.