Gelöst


Identify prime words

etwa 4 Jahre vor

Gelöst


Compute the sum of reciprocals of quadratics
Write a function to compute the following sum: See also Cody Problem 46000.

etwa 4 Jahre vor

Gelöst


Compute a sum of Ramanujan
Srinivasa Ramanujan defined the following function: Write a function to compute for various values of . See also Cody Proble...

etwa 4 Jahre vor

Gelöst


Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.

etwa 4 Jahre vor

Gelöst


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

etwa 4 Jahre vor

Gelöst


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

etwa 4 Jahre vor

Gelöst


Redefine the Array if the Elements in the Array are Repeating
Check if the Array has any repeating elements, if there are repeating elements then choose "n" as a number of times you want tha...

etwa 4 Jahre vor

Gelöst


Exponent of IEEE Single
Output the exponent bits as a uint8 of the IEEE representation of the single-typed 32-bit float input.

etwa 4 Jahre vor

Gelöst


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

etwa 4 Jahre vor

Gelöst


Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number . For example, the th prime after is . NOTE: If itself is pr...

etwa 4 Jahre vor

Gelöst


Repopulate the City
For any population p of positive integers between pmin and pmax, we can calculate histogram count n for a list of evenly dividin...

etwa 4 Jahre vor

Gelöst


Which Char Array has the greater decimal value
Given to character arrays, determine which array has the greater decimal value. 'Hello' --> 72 + 101 + 108 + 108 + 111 = 500 ...

etwa 4 Jahre vor

Gelöst


Easy Sequences 11: Factorial Digits without Trailing Zeros
Here is an easy one... It is not difficult to count the number of digits of the factorial of a given number. For example for 'n...

etwa 4 Jahre vor

Gelöst


Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
The function F(n) is defined as the set of Fibonacci numbers from the first up to the n-th. S(n) is the result of applying to F,...

etwa 4 Jahre vor

Gelöst


Easy Sequences 9: Faithful Pairs
A "faithful number" is a non-prime number that is one less or one more than some prime number but not both. For example, for num...

etwa 4 Jahre vor

Gelöst


Find distance travelled by an object starting from rest in time 't' and linear acceleration 'a' = 3t
Find distance travelled by an object starting from rest in time 't' with linear acceleration a = 3t. You are given time t as an ...

etwa 4 Jahre vor

Gelöst


Square Patterns in a square matrix

etwa 4 Jahre vor

Gelöst


Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

etwa 4 Jahre vor

Gelöst


A sequence of Ones
You are given number(s) with all digits - 1. Your answer will depend on the count of 1 in the given number, for example - x1...

etwa 4 Jahre vor

Gelöst


Create a column vector of n elements between a and b (both included)
Given lower limit a and an upper limit b, create a column vector of n elements inclusive of a and b. For example: a = 1, b = 4,...

etwa 4 Jahre vor

Gelöst


Gaussian elimination
Get the Gussian elimination of the Matrix Given You cannot use built-in Matlab functions triu :)

etwa 4 Jahre vor

Gelöst


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; ...

etwa 4 Jahre vor

Gelöst


Count the peaceful queens
In a 5x5 chessboard with a queen of one color (white, say) on the perimeter, one can place 12 black queens on the board such tha...

etwa 4 Jahre vor

Gelöst


Length of shortest path in a directed graph.
Given a directed graph and a start and end node in the graph, return the minimum number of hops required to reach the end node f...

etwa 4 Jahre vor

Gelöst


Determine roll pitch yaw angles from a 3D rotation matrix
Consider an aerospace application where the world reference coordinate frame {W} and a body-fixed coordinate frame {B}. The ori...

etwa 4 Jahre vor

Gelöst


determine skid distance of car
Determine the distance a car skids to a stop given initial velocity (v) and time (t).

etwa 4 Jahre vor

Gelöst


Convert vector datasets to plot with imagesc instead of scatter
For large datasets this allows much faster plotting. An irregular 2D spatial sampling is provided in x and y vectors with a d...

etwa 4 Jahre vor

Gelöst


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

etwa 4 Jahre vor

Mehr laden