⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 description.html

📁 Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example _comparelanguages
💻 HTML
字号:
<!DOCTYPE html  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"><html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">   <head>      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">         <!--This HTML is auto-generated from an M-file.To make changes, update the M-file and republish this document.      -->      <title>Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example</title>      <meta name="generator" content="MATLAB 7.6">      <meta name="date" content="2008-02-28">      <meta name="m-file" content="Description"><style>body {  background-color: white;  margin:10px;}h1 {  color: #990000;   font-size: x-large;}h2 {  color: #990000;  font-size: medium;}/* Make the text shrink to fit narrow windows, but not stretch too far in wide windows. */ p,h1,h2,div.content div {  max-width: 600px;  /* Hack for IE6 */  width: auto !important; width: 600px;}pre.codeinput {  background: #EEEEEE;  padding: 10px;}@media print {  pre.codeinput {word-wrap:break-word; width:100%;}} span.keyword {color: #0000FF}span.comment {color: #228B22}span.string {color: #A020F0}span.untermstring {color: #B20000}span.syscmd {color: #B28C00}pre.codeoutput {  color: #666666;  padding: 10px;}pre.error {  color: red;}p.footer {  text-align: right;  font-size: xx-small;  font-weight: lighter;  font-style: italic;  color: gray;}  </style></head>   <body>      <div class="content">         <h1>Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example</h1>         <p>This example adds MATLAB to the list of languages in this <a href="http://www.dmh2000.com/cjpr/">C++ vs Java vs Python vs Ruby: a first impression</a>  article at www.dmh2000.com, which compares implementations of a <a href="http://www.cs.auckland.ac.nz/software/AlgAnim/red_black.html">Red Black Tree</a> binary search algorithm.         </p>         <p>The side by side code comparison shows the same simple object oriented example written in C++, Java, Python, Ruby and MATLAB.            The MATLAB implementation uses the new object oriented features available in R2008a. This example is designed to help programmers            familiar with these other languages learn object oriented programming practices in MATLAB.         </p>         <p><b>How to Compare the Languages</b></p>         <p>Open the <a href="comparelanguages.html">comparelanguages.html</a> file. The code for two languages is displayed side-by-side in two frames. You select which two languages to compare by clicking            on the links at the top of each frame. Note that, unlike most of the other languages, you cannot currently put more than one            class in a single MATLAB class definition file, so a fake combined file with the two classes and the test function (that does            not run) is used for the side-by-side HTML comparison. The MATLAB code is contained in the sub folder called MATLAB_Code.            The equivalent C++, Java, Python and Ruby code is available from the dmh2000 web site.         </p>         <p>Although this example does let you compare the object oriented syntax of these languages, it does not compare the languages'            ability to develop technical computing applications such as for signal processing, image processing, financial modelling,            etc, for which MATLAB is designed.         </p>         <p><b>Other resources</b></p>         <p>Other resources for learning object orient programming in MATLAB include:</p>         <div>            <ul>               <li><a href="http://www.mathworks.com/support/2008a/matlab/7.6/demos/DevelopingClassesOverview.html">Defining Classes Video Tutorial (11 min)</a></li>               <li><a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&amp;objectId=126174">Comparison of C++ and MATLAB Using Object Oriented Application Example</a></li>            </ul>         </div>         <p class="footer"><br>            Published with MATLAB&reg; 7.6<br></p>      </div>      <!--##### SOURCE BEGIN #####%% Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example
% This example adds MATLAB to the list of languages in this 
% <http://www.dmh2000.com/cjpr/ C++ vs Java vs Python vs Ruby: a first
% impression>  article at www.dmh2000.com, which compares implementations
% of a <http://www.cs.auckland.ac.nz/software/AlgAnim/red_black.html Red
% Black Tree> binary search algorithm.
%
% The side by side code comparison shows the same simple object oriented
% example written in C++, Java, Python, Ruby and MATLAB. The MATLAB
% implementation uses the new object oriented features available in R2008a.
% This example is designed to help programmers familiar with these other
% languages learn object oriented programming practices in MATLAB.
%
% *How to Compare the Languages*
%
% Open the <comparelanguages.html comparelanguages.html> file. The code for
% two languages is displayed side-by-side in two frames. You select which
% two languages to compare by clicking on the links at the top of each
% frame. Note that, unlike most of the other languages, you cannot
% currently put more than one class in a single MATLAB class definition
% file, so a fake combined file with the two classes and the test function
% (that does not run) is used for the side-by-side HTML comparison. The
% MATLAB code is contained in the sub folder called MATLAB_Code. The
% equivalent C++, Java, Python and Ruby code is available from the dmh2000
% web site.
%
% Although this example does let you compare the object oriented syntax of
% these languages, it does not compare the languages' ability to develop
% technical computing applications such as for signal processing, image
% processing, financial modelling, etc, for which MATLAB is designed.
%
% *Other resources*
% 
% Other resources for learning object orient programming in MATLAB include:
%
% * <http://www.mathworks.com/support/2008a/matlab/7.6/demos/DevelopingClassesOverview.html Defining Classes Video Tutorial (11 min)>
% * <http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=126174 Comparison of C++ and MATLAB Using Object Oriented Application Example>

##### SOURCE END #####-->   </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -