I have a beginner Julia question regarding generating two types of vectors:
How to I generate a vector consisting out of n of the same elements, without having to type it out manually? For example, how do I generate a vector v consisting out of 7 times the number 5, thus
v = [5,5,5,5,5,5,5].How do I generate a vector with n sequential integers starting at integer x, again without having to type it out manually? For example how do I generate a vector z with 10 sequential integers starting at 1, thus
z = [1,2,3,4,5,6,7,8,9,10].