Community Profile

Mark Posen

RPC Telecommunications Ltd.

Last seen: 約1ヶ月 前 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!

All

バッジを表示

Content Feed

Volume of Cylindrical Shell

Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

6ヶ月 前

An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the si...

8ヶ月 前

Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

8ヶ月 前

Narcissistic problem
How many likes has this problem?

8ヶ月 前

Backgammon #4 - Dice Probabilities
Previous problems in this series have looked at how a backgammon board might be represented, and board positions manipulated and...

8ヶ月 前

Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

8ヶ月 前

Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

8ヶ月 前

Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

8ヶ月 前

Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

8ヶ月 前

For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

8ヶ月 前

Create sine function out of cosine

8ヶ月 前

Create tangent function out of cosine only
Please don't use tangent and sine functions

8ヶ月 前

Create cosine function out of sine

8ヶ月 前

Create tangent function out of sine function only
Please don't use cosine and tangent functions

8ヶ月 前

Create tangent function out of sin and cos

8ヶ月 前

Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

8ヶ月 前

Generate a matrix as follows
write a Function that gives like the following for a random n: n=2 ans= [ 0 1 1 0] n=6 ans= [ 0 ...

8ヶ月 前

Arrow!!
Write a script that gives (( follow the example)) if x=4 & output= 1 1 1 1 1 1 0 1 1...

8ヶ月 前

STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

8ヶ月 前

Finding two missing number in 1 to n array
You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

8ヶ月 前

Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.

8ヶ月 前

Consecutive Powers
Return 2 numbers and 2 powers such that their difference is 1 A 4 element row vector is expected: x where x(1)^x(2) - x(...

9ヶ月 前

Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

9ヶ月 前

Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

9ヶ月 前

Determine the roots of a cubic equation
Given the coefficients a, b, c, and d of a cubic equation, a*x^3 + b*x^2 + c*x + d = 0, determine its roots.

9ヶ月 前

Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

9ヶ月 前

Nth root
Nth root of a number x

9ヶ月 前

kmph to mph converter
Convert the speed in miles/hour to km/hour.

9ヶ月 前

Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

9ヶ月 前