mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update matlab.html.markdown
This commit is contained in:
parent
35cfeef957
commit
a8911cb7a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user