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 7 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/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/07%3A_Conditionals_Part_2-_Series_Switch_Logic_Error_Checking_and_While_Loops/7.01%3A_if_elseif_else_with_Error_Checking
    This section gives more if, elseif, else, examples. It also shows how to use the error() function.
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/06%3A_Conditionals_Part_1/6.03%3A_if_else_elseif
    if, else, elseif, end examples
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/07%3A_Modules/7.02%3A_Importing_Names
    This page discusses learning objectives for importing functions in Python using the "from" keyword, emphasizing direct imports and name collision risks. It provides checkpoints and practice questions ...This page discusses learning objectives for importing functions in Python using the "from" keyword, emphasizing direct imports and name collision risks. It provides checkpoints and practice questions to strengthen understanding. The importance of careful naming to avoid unexpected behavior due to name conflicts, which do not generate errors in Python, is also highlighted.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/14%3A_Files/14.05%3A_Raising_Exceptions
    This page discusses learning objectives for exception handling in programming, specifically with the raise statement. It describes how to signal invalid user input and the resulting execution flow dur...This page discusses learning objectives for exception handling in programming, specifically with the raise statement. It describes how to signal invalid user input and the resulting execution flow during exceptions. An example featuring a Pizza class demonstrates raising a ValueError for invalid size input. Practice exercises are also included, focusing on predicting code outputs with raise and implementing a dictionary lookup function with error management.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.06%3A_Error_Messages
    This page covers identifying and correcting common programming errors in Python, such as syntax, name, and indentation errors. It highlights the significance of reading error messages for understandin...This page covers identifying and correcting common programming errors in Python, such as syntax, name, and indentation errors. It highlights the significance of reading error messages for understanding the issues and includes examples of typical mistakes and their errors. By practicing these skills, programmers can enhance their debugging capabilities and coding accuracy.
  • https://eng.libretexts.org/Workbench/MATLAB/Octave%2C_Pieces/6.5%3A_if_else_elseif_error()_Parts_2_and_3
    if, else, elseif, error, flowchart

Support Center

How can we help?