Community Profile

photo

Blaze Shah


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

2 years ago

Answered
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix = sparse2matrix(cellvec) jj = cell2mat(cellvec); m = jj(3)*ones(jj(1,[1,2])); n = 4; while n<=length(jj) ...

2 years ago | 0

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

2 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago