Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
17 dagen ago
Solved
MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string.
For example
A='harsa';
b='harish'; result '1'
...
17 dagen ago
Solved
Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if
x = [1 3 4 5 8 11];
then return
y = [NaN Na...
17 dagen ago
Solved
true or false
if the matrix has a zero, return true. else, return false
17 dagen ago
Solved
Sum the rows
Sum the rows of the given matrix.
Example
x = [ 1 2
3 4 ]
y = [ 3
7 ]
17 dagen ago
Solved
Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...