When do we get the below error in Matlab?

 Akzeptierte Antwort

per isakson
per isakson am 28 Mär. 2022
Bearbeitet: per isakson am 28 Mär. 2022

1 Stimme

Example
A = 17; % A is a scalar
A(2) % there is no element with index 2
Index exceeds the number of array elements. Index must not exceed 1.

Weitere Antworten (0)

Kategorien

Tags

Gefragt:

am 28 Mär. 2022

Bearbeitet:

am 28 Mär. 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by