randInt -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function vector_random_numbers=randInt(length_of_vector,low_number,high_number) %function to generate random integers from a vector %usage: vector_random_numbers=randInt(length_of_vector,low_number,high_number)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: vector_random_numbers=floor(low_number+(high_number-low_number).*rand(1,length_of_vector));...
View Full Document

This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.

Ask a homework question - tutors are online