% Chapter 7 Practice Exercise 1 Number 4
% Create a vector from a to b with spacing of c where a b c are defined by user input
% Michael Haggerty for CISC105 sec 99
% 09/17/2007
clear 
clc
a = input('Please enter a start value for the vector: ');
b = input('Please enter an end value for the vector: ');
c = input('Please enter the interval for the vector: ');
x = [a : c : b]