Feeds
提问
These are 2 subprograms i have used to define 2 function grad and fnc. I have called the function grad , and in the function grad fnc is called, now x is a vector, and fnc is a scalar function of a vector variable still it is returning a vector
the second thing is that an error '??? Subscript indices must either be real positive integers or logicals' is coming... the er...
12 years 前 | 2 个回答 | 0