Help with the below error

1 Ansicht (letzte 30 Tage)
Amy Topaz
Amy Topaz am 28 Mär. 2022
Bearbeitet: per isakson am 28 Mär. 2022
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
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

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by