>> x = -1:.05:1;plot(x,acos(x))grid onSubscript indices must either be real positive integers or logicals.
MATLAB: The acos funtion will not accept negagive numbers (e.g. -075) . WHY
acos problem
Related Question
- Do I get the error Array indices must be positive integers or logical values when using the sin function
- How do i correct this error, “subscript indices must either be real positive integers or logicals”
- Subscript indices must either be real positive integers or logicals.
- Possible matlab bug with text() function
Best Answer