解決済み

Four quadrant inverse tangent function.

Create a function that returns an array P the same size as X and Y containing the element-by-element, four-quadrant inverse tang...

7ヶ月 前

解決済み

String Delimination and Outputting

In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

7ヶ月 前

解決済み

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

7ヶ月 前

解決済み

Calculate the values of a polynomial.

Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

7ヶ月 前

解決済み

Find index of a string in a cell array

Write a function that finds the index at which the cell array of strings C contains the exact string S. So if C = {'twe...

7ヶ月 前

解決済み

Vector indexing: lower than mean

Find all values in a vector lower than the mean of the vector

7ヶ月 前

解決済み

Back to basics 24 - Symbolic variables

Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variables...

7ヶ月 前

解決済み

Count photos

Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

7ヶ月 前

解決済み

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...

7ヶ月 前

解決済み

Calculate feeling temperature before climbing a mountain

I sometimes climb a mountain. As is well known, when the altitude becomes 100 (m) higher, the temperature lowers by 0.6 degrees...

7ヶ月 前

解決済み

List the dopey numbers

If vile numbers have binary representations that end with an even number of zeros (even vile), then numbers with binary represe...

7ヶ月 前

問題

Easy Sequences 64: Base-14 Arithmetic Function

For an integer , the base-14 arithmetic function, , is defined as follows: Convert to base-14, using the letters '' for digits...

7ヶ月 前 | 0 | 3 個のソルバー

解決済み

List the vile numbers

Evil numbers, the subject of Cody Problem 2733 have an even number of ones in their binary representations, whereas odious numbe...

7ヶ月 前

解決済み

Babylonian method

Calculate the square root of a given positive number a using the Babylonian method (https://en.wikipedia.org/wiki/Methods_of_co...

7ヶ月 前

解決済み

remove nans fast

There are several ways to locate and remove nans in a matrix, and return an 1d row vector. In this problem the challenge is ...

7ヶ月 前

解決済み

Given n, create n random numbers such that their standard deviation is also n.

Given n, create n random numbers such that their standard deviation is also n.

7ヶ月 前

問題

Easy Sequences 63: Base-63 Arithmetic Functions

In this exercise we are required to implement 7 basic 'unsigned integer' arithmetic functions in base-63: to63(x) - convert...

7ヶ月 前 | 1 | 1 個のソルバー

解決済み

Draw 'P' !!!

Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

7ヶ月 前

解決済み

List the Beatriz numbers

Write a function to find integers less than or equal to an input value that solve the equation . The function gives the sum o...

7ヶ月 前

解決済み

Shuffle

Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

7ヶ月 前