Community Profile

photo

Mark Posen


Last seen: Today

RPC Telecommunications Ltd.

403 total contributions since 2020

I am a satellite communication engineer, specialising in spectrum and regulatory engineering, interference analysis and frequency coordination.

I have been programming since the mid-1970s (I used to be able to code by hand-punching Hollerith Cards!) but for the past 20-years or so I have really not done much coding at all. I'm trying to remedy that by learning MATLAB!

Contact

Mark Posen's Badges

  • Leader
  • MATLAB Central Treasure Hunt Finisher
  • Speed Demon
  • Creator
  • Promoter
  • Explorer
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Thankful Level 1
  • Community Group Solver
  • Commenter
  • Solver

View details...

Contributions in
View by

Solved


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

1 day ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

2 days ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

4 days ago

Solved


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

5 days ago

Solved


Number Puzzle - 096

7 days ago

Solved


Number Puzzle - 094

7 days ago

Solved


Number Puzzle - 093

7 days ago

Solved


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

7 days ago

Solved


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

7 days ago

Solved


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

7 days ago

Solved


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

8 days ago

Solved


Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

9 days ago

Solved


Phoneword Translator
Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

10 days ago

Solved


English to Pig Latin Translator
Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the wikipedia entry for Pig Latin): ...

11 days ago

Solved


The Dark Side of the Die
It is well-known that opposite sides of a classic hexahedral die add to 7. Given a vector of dice rolls, calculate the sum of th...

11 days ago

Solved


Check to see if a Sudoku Puzzle is Solved
*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

11 days ago

Solved


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

12 days ago

Solved


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

12 days ago

Solved


surface of a spherical planet
you just discovered its circumference, that is the input.

12 days ago

Solved


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

12 days ago

Solved


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

13 days ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

13 days ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

13 days ago

Solved


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

14 days ago

Solved


Number Puzzle - 087

14 days ago

Solved


Number Puzzle - 086

15 days ago

Solved


Number Puzzle - 085

15 days ago

Solved


Number Puzzle - 084

15 days ago

Load more