Courses:

Computational Cognitive Science >> Content Detail



Study Materials



Study Materials



MATLAB®




How to Learn MATLAB®




Debugging Programs in MATLAB®


  • keyboard, dbstop and dbcont Commands

  • dbstop if error is Useful


Problems


  • Suppose x and y are column vectors. Compute the Euclidean distance between x and y.

  • Suppose X and Y are matrices. Compute a distance matrix D where dij is the Euclidean distance between the ith column of X and the jth column of Y.

Handout on MATLAB®, Statistics, and Linear Regression (PDF) (Courtesy of Justin Werfel. Used with permission.)


 








© 2009-2020 HigherEdSpace.com, All Rights Reserved.
Higher Ed Space ® is a registered trademark of AmeriCareers LLC.