How to assign negative values to a variable
344 views (last 30 days)
I am getting an error as like this.
Subscript indices must either be real positive integers or logicals.
my code is,
V = -60
but i need to pass V=-60 to am(V). how can i pass this.
Can anyone answer for this. Thanks in advance.