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 1 results
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/01%3A_Modeling_Simulation_and_MATLABs_Interpreter/1.08%3A_Errors
    Another common error is to leave out the parentheses around the arguments of a function. The problem is that when you leave out the parentheses, MATLAB treats the argument as a string of characters (w...Another common error is to leave out the parentheses around the arguments of a function. The problem is that when you leave out the parentheses, MATLAB treats the argument as a string of characters (which have type 'char'). In this case the error message is helpful, but in other cases the results can be baffling. If you were translating the mathematical expression \[\frac{1}{2 \sqrt \pi}\] into MATLAB, you might be tempted to write this:

Support Center

How can we help?