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:
Caesar cipher
Explanation:
In formation technology, cryptography or cryptology is a process of coding or encrypting information, using algorithms and input values in a network, where there is a present of a third party called adversaries or attackers.
There are different types of cryptography, namely, symmetric, assymmetric and hash cryptography.
Ciphers are algorithms used in cryptography to encode (encrypt) or decode (decrypt) information. An example of cipher is the Ceasar's cipher.
Ceasar cipher is a simple type of substitution cipher that encrpts plain text one character at a time and each coded character depends on the single character and a fixed distance value.
Home Screen with pop up so it’s the first one
Answer:
B
Explanation:
give answers next time pls so i can help you!!