From 3306a36180b16470b8ad20f3c9a3f19b8cbab1d0 Mon Sep 17 00:00:00 2001 From: Happy Date: Thu, 9 Apr 2020 11:35:06 -0700 Subject: [PATCH] Add syntax highlighting to readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb0cba944a..8cb5359f19 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,13 @@ equations and vector calculus. Many users use the Examples as templates for their own problems. To get a taste of what computing with Chebfun is like, type -``` +```matlab x = chebfun('x'); ``` and start playing. The variable `x` is a chebfun and can be manipulated in a way that feels symbolic, although everything Chebfun does is numeric. So try, for instance: -``` +```matlab f = sin(12*x).*exp(-x); % A function on [-1, 1] g = max(f, 1./(x+2)); % The max of f and 1./(x+2) plot(g) % A function with discontinuous derivative