Exercise 1.12: Relational array operations

Perform the exercise: >> a = rand(5,5). This command generates an array with 5 rows and 5 columns where each element is chosen arbitrary between 0 and 1. Make an array with all elements of $ a$ which are smaller than 0.3.

HINT: use the MATLAB-function find in this exercise.

Previous      Next      Up      Answer

Esteur 2010-03-22