Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 2 results
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/04%3A_Vectors/4.05%3A_Indexing_Errors
    An index can be any kind of expression, but the value of the expression has to be a positive integer, and it has to be less than or equal to the length of the vector. >> Y(0) Array indices must be pos...An index can be any kind of expression, but the value of the expression has to be a positive integer, and it has to be less than or equal to the length of the vector. >> Y(0) Array indices must be positive integers or logical values. If it’s not an integer, you get an error: >> Y(1.5) Array indices must be positive integers or logical values. If the index is too big, you also get an error: The error messages use the word array rather than matrix, but they mean the same thing, at least for now.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.02%3A_String_Slicing
    This page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both ...This page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both positive and negative indexing. The text notes that strings cannot be modified directly, necessitating the creation of new string objects for any changes. Additionally, it includes examples and practice questions to enhance understanding of string handling.

Support Center

How can we help?