Finding maximum and minimum values in arrays

March 26th, 2010 No Comments   Posted in Examples

Let’s write a function file range.m that calculates the difference between the maximum and minimum value in a vector. The file should return a reply. Open an edit window. Create a function file like the one below. Read More

Introduction to Vectors in Matlab

December 4th, 2009 No Comments   Posted in Documents

Defining a Vector
vek
Matlab is a software package that makes it easier for you to enter matrices and vectors, and manipulate them. The interface follows a language that is designed to look a lot like the notation use in linear algebra. In the following tutorial, we will discuss some of the basics of working with vectors. Read More