photo

Abhinav


Last seen: 8 månader ago Active since 2023

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Cody Problem 38. Return a list sorted by number of occurrences
function output_array = popularity(input_array) %% First make unique array unique_input_array = unique(input_array); %% C...

ungefär ett år ago | 0

Answered
Cody Problem 19. Swap the first and last columns
function B = swap_ends(A) B = A; k = B(:,1); B(:,1) = B(:,end); B(:,end) = k; end

ungefär ett år ago | 0

Answered
Cody Problem 14. Find the numeric mean of the prime numbers in a matrix.
function out = meanOfPrimes(in) primeTF = isprime(in); primeTFIndex = find(primeTF); x = []; for...

ungefär ett år ago | 0