Resuelto


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

alrededor de 4 años hace

Resuelto


Average of two numbers
Find the average of two numbers x1 and x2. For instance, if x1=7 and x2=19, the answer is 13.

alrededor de 4 años hace

Resuelto


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

alrededor de 4 años hace

Resuelto


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

alrededor de 4 años hace

Resuelto


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

alrededor de 4 años hace

Resuelto


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


increasing sequences
Given a string of digits, insert commas to create a sequence of strictly increasing numbers so as to minimize the magnitude of t...

alrededor de 4 años hace

Resuelto


Chain multiplication - 02
Following up on the problem in 55295, you found the number of multiplications needed to multiply two matrices. Now, you are giv...

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


Chain multiplication - 04
Following up on the problem in 55305, you found the optimal way to multiply a chain of matrices. However, here in this problem,...

alrededor de 4 años hace

Resuelto


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

alrededor de 4 años hace

Resuelto


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

alrededor de 4 años hace

Resuelto


Cut the rod
A rod of length n can be cut in different sizes. Different price is associated with different length of cuts. length, len= [1,...

alrededor de 4 años hace

Resuelto


Make a function that returns its own character count
Write a function that returns a 128 element vector with an accurate inventory of the ASCII characters in its own function file. ...

alrededor de 4 años hace

Resuelto


Functionality 1
It's all about functionality. *Cheating is allowed but not required*

alrededor de 4 años hace

Resuelto


Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

alrededor de 4 años hace

Resuelto


PACMAT - Ghosts Random; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT Ghosts Random requires clearing the board of Yellow Dots while not bumping in...

alrededor de 4 años hace

Resuelto


Convert base 10 to base x (2-16)
Convert input number(s) (cell array of character arrays) in base 10 to base x (2 through 16). Output should be a cell of charact...

alrededor de 4 años hace

Resuelto


Partial sorting algorithm
Return the top k elements of an input vector. A comparison function compareFcn(m,n) is provided to compare individual elements o...

alrededor de 4 años hace

Resuelto


Cyclotomic polynomial
Given a Natural number (N), return the corresponding Cyclotomic Polynomial.

alrededor de 4 años hace

Resuelto


Remove TeX from string
Matlab’s TeX support in figure windows is great for displaying information in a visually appealing way. However, many of the TeX...

alrededor de 4 años hace

Resuelto


Inhomogenous Depth Scale Interpolation
I recently came across a dataset for physical ocean parameters such as temperature and salinity that provided data in the form o...

alrededor de 4 años hace

Resuelto


Convert double scalar to half-precision floating point (IEEE 754r)
Use MATLAB to convert a scalar double into a half-precision floating point. The return value should be a uint16. The half-pr...

más de 4 años hace

Resuelto


Nuemann Polynomials
Return the coefficients of nth (n>=0) Nuemann polynomial, (a sequence in 1/t) as polynomials in alpha. The expected output is a...

más de 4 años hace

Resuelto


Determine whether one vector is a subset of another
While bumbling through a pair of problems in the Number Theory group, I wrote code to determine whether a vector is a subset of ...

más de 4 años hace

Resuelto


Scorer's Function
Evaluate the Scorer's function for a given input. The expected output is Gi(x). Note - The precision will vary for test cases...

más de 4 años hace

Resuelto


Consecutive Pairs of Smooth Numbers from Set of Prime Numbers
Given an input set of prime numbers (p), generate all pairs of consecutive smooth numbers (x) (see Stormer's Theorem). For exam...

más de 4 años hace

Cargar más