Resuelto


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

casi 3 años hace

Resuelto


Count the primes in Collatz sequences
Several Cody problems (21, 69, 42937, 44448, 44784, 52422) involve Collatz sequences. These start with a seed . If is odd, the ...

casi 3 años hace

Resuelto


Circle : Square

casi 3 años hace

Resuelto


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

casi 3 años hace

Resuelto


lb to kilogram
convert lb to kilogram units, easy

casi 3 años hace

Resuelto


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

casi 3 años hace

Resuelto


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

casi 3 años hace

Resuelto


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

casi 3 años hace

Resuelto


Ounces to Kilograms
convert ounces to kilograms, easy

casi 3 años hace

Resuelto


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

casi 3 años hace

Resuelto


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

casi 3 años hace

Resuelto


cube of number
find cube of number

casi 3 años hace

Resuelto


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

casi 3 años hace

Resuelto


Fermat's last theorem - again
For a given integer n, express it as a sum of two squares if possible. Return empty matrix otherwise. Solution may not be unique...

casi 3 años hace

Resuelto


modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...

casi 3 años hace

Resuelto


grazing cows
Here is a fun problem I encountered in high school. Two cows are grazing in an enclosed square-shaped field of side length s ...

casi 3 años hace

Resuelto


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

casi 3 años hace

Resuelto


07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...

casi 3 años hace

Resuelto


Create an 'arrow-head" matrix
Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

casi 3 años hace

Resuelto


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

casi 3 años hace

Resuelto


Partial pivoting for Gauss Elimination
Write a function to implement partial pivoting for Gauss elimination, given the pivot element.

casi 3 años hace

Resuelto


String vowel manipulation
Given a string, find all the vowels and shift them to the end of the string in the same order as they are found.

casi 3 años hace

Resuelto


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

casi 3 años hace

Resuelto


convert 24 hour time to 12 hour time
convert 24 hour time to 12 hour time Input: '13:12' Output: '01:12 PM' Input: '06:12' Output: '06:12 AM'

casi 3 años hace

Resuelto


Add Odd and Subtract Even Numbers in an Array
For an input array, add all the odd values and subtract the even values. The final value is the output. E.g. input = [1 2 3 4 ...

casi 3 años hace

Resuelto


Create a vector with n repeated values of a number x (★★)
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

casi 3 años hace

Resuelto


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

casi 3 años hace

Resuelto


determine if
determine if the elements of a matrix is a nan and return true

casi 3 años hace

Resuelto


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

casi 3 años hace

Resuelto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

casi 3 años hace

Cargar más