Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. To display special characters (e.g. \n, \t and so on), you have to use sprintf to format it first. fprintf does the job of formatting and printing together.

  2. Unlike R, numbers in MATLAB will not be silently converted to strings when needed. You must use the function num2str to convert numbers to strings manually.