Answer:
x = 29:73;
x_even = x(2:2:end);
Explanation:
In order to create a vector in Matlab you can use colon notation:
x = j:k
where <em>j</em> is 29 and <em>k</em> is 73 in your case:
x = 29:73
Then you can extract the even numbers by extracting the numbers with even index (2,4,6,etc.) of your vector:
x_even = x(2:2:end);
In the line of code above, we define <em>x_even</em> as all the elements of x with even index from index 2 till the end index of your vector, and an increment of 2 in the index: 2,4,6,etc.
If you want the odd numbers, just use the odd indices of your vector:
x_odd = x(1:2:end);
where <em>x_odd</em> contains all the elements of <em>x</em> with odd index from index 1 till the end index, and an increment of 2: 1,3,5,etc.
Answer:
The 2 on the right belong in the drawing section. The left 2 being on the sketch section
Explanation:
A technical drawing is all about precision and using a computer to refine sketches.
Answer:
All the members within a class are by default are private. Private function in a class can access public function within a similar class. Private member formed the implementation of the class and also form the private interface of members within the class.
All the member of class can be access by function inside the class when it is declare as private.
For example:
class test
{
private:
int a; // when test:a is private
public:
test() : a() // a is accessible in test class
}
Answer: Plotter-- B
Explanation:
A Plotter is sophisticated printer that get commands from a computer and interprets them to draw high quality lines or vector graphics on paper rather than dots using one or several automated pens. This makes them useful in the area of CAD , architecture drawings and engineering designs. The types of plotters we have include Drum Plotters, Flat Bed Plotters and Ink Jet Plotters.