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 174. Roll the Dice

(0)
$7.49
0x  sold

Problem 174. Roll the Dice! Created by @bmtran (Bryant Tran) in Community Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(); x1 = 5; x2 = 2;

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

Matlab Cody Problem 41. Cell joiner

(0)
$7.49
0x  sold

Problem 41. Cell joiner Created by Cody Team in Cody Challenge You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string from the cell array separated by the delimiter. For example, this input in_cell = {'Lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur'}; delim = ' '; should produce this output: out_str = 'Lorem ipsum dolor sit amet consectetur';

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

Matlab Cody Problem 46. Which doors are open

(0)
$7.49
0x  sold

Problem 46. Which doors are open? There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut these doors in a particular manner: Toggle the state of each door you visit. That is, if the door is shut, open it, and if the door is open, shut it. On the i-th trip down the alley, start with door i and visit every i-th door. Given n doors, return the list of open doors. Example: Let's say n = 3. On your first trip, yo...

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

Matlab Cody Problem 262. Swap the input arguments

(0)
$7.49
0x  sold

Problem 262. Swap the input arguments Created by Steve Eddins in Community Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = 10 and r = 5.

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

Matlab Cody Problem 27. Pangrams!

(0)
$7.49
0x  sold

Problem 27. Pangrams! Created by Cody Team in Cody Challenge A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s = 'The quick brown fox jumps over the lazy dogs' Output tf = true

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

Matlab Cody Problem 13. Remove all the consonants

(0)
$7.49
0x  sold

Problem 13. Remove all the consonants Created by Cody Team in Cody Challenge Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a a i e u e i';

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