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 Ax=B problem
Take a incoming A and B vector, and solve for x

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ヶ月 前

Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

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ヶ月 前

System of Linear Equations

7ヶ月 前

Falling on the Moon.

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ヶ月 前

Sales Tax

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 個のソルバー

Basic: fft
Calculate the value using fft

7ヶ月 前

Volume of Cylindrical Shell

7ヶ月 前

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ヶ月 前

Find a Prime Number
Find a prime number from a vector Example: [2 51 8 65 19] a = 51

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ヶ月 前

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ヶ月 前