num = 12 / 6 + 4 num
num = 3 num
vals = [2 num*2 num 1] vals
vals = linspace(2,11,4) vals
vals = 2:num:11 vals
vals = 1:4 vals
newvals = 2 * vals newvals
newvals = vals .* newvals newvals
vals = vals .^2 vals
total = sum(vals) total
len = length(vals) len
>>fave_num = input('Enter your favorite number:')
Enter your favorite number:
fave_num =
fave_num
fave_num = 10*fave_num;
fave_num