Hello, I get this error, Subscript indices must either be real positive integers or logicals.

The line with this error is,

` An=110; Am=100; DUM(100,An/(Am+1)+1)={''};`

Skip to content# MATLAB: How to solve this problem? with message subscript indices must either be real positive integers

###### Related Question

please help me in resolving this error and what is meant by subscript indices?

Hello, I get this error, Subscript indices must either be real positive integers or logicals.

The line with this error is,

` An=110; Am=100; DUM(100,An/(Am+1)+1)={''};`

- Sum of first 100 integers
- Collapsing integer data into consecutive integers
- How to generate uniformly distributed random integers
- How to let fminsearch only search over integers
- Error using ones Size inputs must be integers
- How to change a sequence of integers
- How to replace all elements that are not even integers
- How to use regexp for negative and positive integers

## Best Answer