views:

69

answers:

0

Possible Duplicate:
Can we solve this using matlab

For the matrix alpha described below, write a script to perform the following computations. Use a complete sentence to describe every number you display. Only use the fprintf() function for displaying answers.

*Compute and display the maximum and minimum values in alpha. *Compute and display largest odd number in each row. *Compute and display how many elements in alpha are divisible by 3.

alpha=[5 7 3 2 6 9;1 45 8 5 3 2; 6 8 5 2 4 7; 13 64 32 6 87 2;34 65 1 2 4 5;5 7 12 3 65 4]