From a8911cb7a5bc72d3d13c2b2696f9aa969289f6bc Mon Sep 17 00:00:00 2001 From: veghp <31794642+veghp@users.noreply.github.com> Date: Tue, 13 Mar 2018 14:11:43 +0000 Subject: Update matlab.html.markdown --- matlab.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab.html.markdown b/matlab.html.markdown index 6dc9f697..3b96d08e 100644 --- a/matlab.html.markdown +++ b/matlab.html.markdown @@ -545,7 +545,7 @@ ans = multiplyLatBy(a,3) % The method can also be called using dot notation. In this case, the object % does not need to be passed to the method. -ans = a.multiplyLatBy(a,1/3) +ans = a.multiplyLatBy(1/3) % Matlab functions can be overloaded to handle objects. % In the method above, we have overloaded how Matlab handles -- cgit v1.2.3 From 19f3a857fb3f5bd4d4250a0db895b91d0cea2531 Mon Sep 17 00:00:00 2001 From: veghp <31794642+veghp@users.noreply.github.com> Date: Tue, 13 Mar 2018 14:16:52 +0000 Subject: Update matlab.html.markdown --- matlab.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab.html.markdown b/matlab.html.markdown index 3b96d08e..b88b1c03 100644 --- a/matlab.html.markdown +++ b/matlab.html.markdown @@ -374,8 +374,8 @@ disp('Hello World') % Print out a string fprintf % Print to Command Window with more control % Conditional statements (the parentheses are optional, but good style) -if (a > 15) - disp('Greater than 15') +if (a > 23) + disp('Greater than 23') elseif (a == 23) disp('a is 23') else -- cgit v1.2.3