Matlab 2008 Full Version Free Download
Features:-
The software industry has evolved considerably since the early 1990s, when MATLAB®
object-oriented programming features were first developed. For example,
design patterns using objects are now commonplace. Over the intervening
years, MathWorks developers have learned a great deal about how
programmers use objects and what capabilities they require.
A key
goal in updating the object-oriented programming capabilities of MATLAB
in R2008a was to apply some of these lessons while remaining true to
three core principles of the MATLAB language: the centrality of arrays
and array indexing, the importance of mathematical functions, and the
use of multiple named input and output parameters.
For experienced
object-oriented programmers, this article explains the rationale behind
some of the MATLAB design decisions in R2008a, including why MATLAB
object-oriented features differ in significant ways from other popular
object-oriented languages. In particular, this article examines methods
and parameters, inheritance, handles, properties, and object lifecycle
management.
Methods and Parameters
In R2008a, MATLAB
preserves the method-definition, calling, and dispatching semantics of
earlier versions of MATLAB. This means that objects are explicit
parameters to the methods that act on them. Unlike many object-oriented
languages, in MATLAB the array, or matrix, takes center stage. There is
no special type for arrays, and all classes inherently support arrays.
Moreover, because MATLAB methods frequently need to act on multiple
objects, symmetry among multiple object parameters is more important in
MATLAB code. For example, in MATLAB, plus is implemented with
function C = plus(A, B)
Inside the method, A, B, and C are all variables that can be
given names appropriate to the context and used as variables might be
used in mathematical equations. After all, methods are simply functions
that act on objects. The only characteristic unique to methods is that
they have access to the internals (the protected and private
definitions) of the class. In MATLAB, there are no implicit parameters
to methods.
Why is there no implicit "this" object in MATLAB?
In
some languages, one object parameter to a method is always implicit. In
such languages, a method always acts on a single scalar object without
any need to access elements of an object array. Consider a MATLAB method
that acts on an object array:
function S = sum(X) S = 0; for k = 1:length(X) S = S + X(k).Value; end end
While languages with an implicit object parameter provide a
"this" keyword to access the implicit object, they usually do not
require you to access a property through "this". If MATLAB had implicit
properties, the logical extension to array-based objects would be to
index into nothing:
S = S + (k).Value;
Inheritance
In
R2008a, MATLAB introduces a new inheritance model based on the idea
that a class defines a set of objects with common traits and behaviors. A
subclass defines both a subset of objects that exhibit the traits and
behaviors defined by the superclass and additional traits and behaviors
not exhibited by all instances of the superclass. Before R2008a, the
fact that MATLAB objects were implemented using
struct
arrays was highly visible and central to the way classes inherited from other classes. An object belonging to a subclass was a struct
that contained a field for each superclass, and that field contained an object belonging to the superclass.
This
approach is, in many ways, simple and elegant. For example, it is easy
to construct subclass instances using superclass constructors without
special syntax, and it is easy to call superclass methods from subclass
methods—you simply call the method on the superclass object contained by
the subclass. However, there were problems with this model of
inheritance.
One deficiency with the pre-R2008a inheritance model
was that a superclass method could be called from a subclass method only
by passing the superclass component of the object. This meant that the
superclass method did not receive the whole object, and calls made by
the superclass method would not dispatch to the subclass.
System Requirements:-
System: Pentium IV CPU 1.7GHz
RAM: 512MB
Size: 3.75GB
Video Memory: 64MB
OS: Windows98ME 2000 XP VISTA 7 and Windows 8
No comments:
Post a Comment