¸ñÂ÷/Â÷·Ê
¸ÅƲ·¦ 1Àå ¿¬½À¹®Á¦
¸ÅƲ·¦ 2Àå ¿¬½À¹®Á¦
º»¹®/³»¿ë
¸ÅƲ·¦ 2Àå ¿¬½À¹®Á¦
1. a. Use two methods to create the vector x having 100 regularly spaced values starting at 5 and ending at 14
x = linspace(5,28,100)
x=[5:0.2323:28];
b. Use two methods to create the vector x having a regular spacing of 0.2 starting at 2 and ending at 14.
x = [2:0.2:14];
x = linspace(2,14,61);
c. Use two methods to create the vector x having 50 regularly spaced values starting at -2 and ending at 5.
x=linspace(-2,5,50);
x = [-2:0.1429:5];