You can create a vector that contains 7 linearly spaced values between 5 and 75 by using the linspace
function:
main.m21 chars2 lines
This will create a row vector v
that contains 7 equally spaced values between 5 and 75, inclusive. The output will be:
main.m54 chars4 lines
gistlibby LogSnag