logo-home

Nick1982

On this page, you find all documents, package deals, and flashcards offered by seller nick1982.

Community

  • Followers
  • Following

37 items

Matlab Cody Problem 72 . Interpolator

(0)
$7.49
0x  sold

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end) find the a(n), a(n 1) that flank it. Now interpolate the value, vb, such that it is proportionally between b(n) and b(n 1). va can land exactly on a value of a. For the exact link of the problem go to : https://www.mathworks.com/matlabcentral/cody/problems/72-interpolator

i x
  •  Package deal
  • Answers
  •  • 2 pages • 
  • by nick1982 • 
  • uploaded  24-12-2018
Quick View
i x

Matlab Cody Problem 44305. 5 Prime Numbers

(0)
$7.49
0x  sold

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numbers in that range that contain the number five. But, if you can't find at least five such numbers, the function should give up and return -1. For example, for n_min = 60 and n_max = 1000, the set of prime numbers is: p = [61,67,71,73,79, ... 149,151,157,163, ... 241,251,257,263, ... 349,353,359,367, ... 983,991,997] This set contains at least five numbers that c...

i x
  •  Package deal
  • Answers
  •  • 2 pages • 
  • by nick1982 • 
  • uploaded  23-12-2018
Quick View
i x

Matlab cody problem 2736 . Pernicious Anniversary Problem

(0)
$7.49
0x  sold

Matlab cody problem 2736 - Pernicious Anniversary Problem . Code is ready and checked just copy and paste into the test suite and enjoy the points! Since Cody is 5 years old, it's pernicious. A Pernicious number is an integer whose population count is a prime. Check if the given number is pernicious.

i x
  •  Package deal
  • Answers
  •  • 2 pages • 
  • by nick1982 • 
  • uploaded  23-12-2018
Quick View
i x