解決済み


Vector parallel to plane?
Given the coefficients of the equation which defines a plane as follows: ax+by+cz=d, return a boolean indicating whether the 2n...

2年弱 前

解決済み


Independent direction vectors of a plane
Given the equation of a plan of the form ax+by+cz=d, return 2 independent direction vectors which could e.g. be used to determin...

2年弱 前

解決済み


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

約2年 前

解決済み


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

約2年 前

解決済み


fly fly away
A fly moves following a predefined sequence of discrete jumps (defined by the vectors _dx_ and _dy_) repeating the same sequence...

約2年 前

解決済み


Fizz Buzz
Given an array of positive, non-zero, integers, return a cell array of strings the same size as the input, where each element in...

約2年 前

解決済み


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

約2年 前

解決済み


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

約2年 前

解決済み


Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

約2年 前

解決済み


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

約2年 前

解決済み


Modulo with 5

約2年 前

解決済み


Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...

約2年 前

解決済み


2) Are you more familiar with iteration methods or Linear Algebra ? Let's see together.
Referring to problem: https://www.mathworks.com/matlabcentral/cody/problems/44530-are-you-more-familiar-with-iteration-method...

約2年 前

解決済み


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

約2年 前

解決済み


imaginary results
Return the value of the imaginary number i to the power of input argument n.

約2年 前

解決済み


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

約2年 前

解決済み


Compute Farey sequences
Problem statement The Farey sequence of order consists of fractions between 0 and 1 expressed in reduced form in increasing or...

約2年 前

解決済み


Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...

約2年 前

解決済み


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

約2年 前

解決済み


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...

約2年 前

解決済み


Reverse digits of a number
Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

約2年 前

問題


Complete a 2nd order difference sequence
In Cody Problem 59791 ChrisR asks us to find the integer that completes a randomly sorted geometric sequence with one missing el...

約2年 前 | 0 | 6 個のソルバー

解決済み


Complete a geometric sequence
In Cody Problem 59786 minnolina asks us to find the integer that completes a randomly sorted arithmetic sequence with one missin...

約2年 前

解決済み


Find out the smallest number 9 times greater
What is the smallest natural number where the result of moving the digit on the far right to the front of the number is a number...

約2年 前

解決済み


Method of Common Differences part-2
This is the inverse problem to <http://www.mathworks.com/matlabcentral/cody/problems/1485 Problem 1485>. Problem 1485 illustra...

約2年 前

解決済み


Method of Common Differences part-1
Use the method of common differences to output a vector containing the initial values and the nth order difference. ex ...

約2年 前

解決済み


Find a number m such that 2m and the square of m have the same digit sum
The number has the property that and have the same digit sum. It is the seventh number, including zero, in the sequence of nu...

約2年 前

解決済み


List the ways to write 1/n as the sum of two unit fractions
Cody Problem 59841 involved counting the ways that can be written as the sum of two unit fractions (those with a numerator of 1...

約2年 前

解決済み


Identify de Polignac numbers
The numbers 125 and 329 can be written as the sum of a prime and a power of 2. For example, , and . The numbers 127 and 331, whi...

約2年 前

さらに読み込む