|
On 2/6/2012 11:54 PM, Jasper Adamek wrote:
> Write an if-else statement that checks whether the size of two arrays is
> equal or not. If the arrays are of different sizes, make their sizes
> equal by appending zeroes at the end of the smaller array.
>
> HOW DO I DO THIS????
In agreement w/ the other posters, I'll add a hint...
doc size
might be useful...
Also read the "Getting Started" section in the documentation and work
through the examples to get the feeling for how Matlab works...there are
examples of the kinds of operations you'll need that should begin to
give you ideas of how to tackle the problem.
--
|