Statistik
RANG
N/A
of 302.188
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.608
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
10 Monate vor
Gelöst
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
10 Monate vor
Gelöst
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...
10 Monate vor
Gelöst
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
10 Monate vor
Gelöst
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
mehr als 7 Jahre vor
Gelöst
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
mehr als 7 Jahre vor
Gelöst
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
mehr als 7 Jahre vor
Gelöst
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
mehr als 7 Jahre vor
Gelöst
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
mehr als 7 Jahre vor
Gelöst
Basic electricity in a dry situation
⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...
mehr als 8 Jahre vor
Gelöst
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
fast 9 Jahre vor
Gelöst
Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...
fast 9 Jahre vor
Gelöst
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
fast 9 Jahre vor
Gelöst
Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
fast 9 Jahre vor
Gelöst
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...
fast 9 Jahre vor
Gelöst
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
fast 9 Jahre vor
Gelöst
CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5
mehr als 9 Jahre vor
Gelöst
Determine the square root
Determine the square root of the value the user has entered, n.
mehr als 9 Jahre vor
Gelöst
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
mehr als 9 Jahre vor
Gelöst
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
mehr als 9 Jahre vor
Gelöst
convert matrix to single column
given any matrix, convert it to single column
mehr als 9 Jahre vor
Gelöst
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
mehr als 9 Jahre vor
Gelöst
Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.
mehr als 9 Jahre vor
Gelöst
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
mehr als 9 Jahre vor
Gelöst
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
mehr als 9 Jahre vor
Gelöst
Binary Coder
Take an input number and print the binary value of this number.
mehr als 9 Jahre vor
Gelöst
Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?
mehr als 9 Jahre vor
Gelöst
Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...
mehr als 9 Jahre vor










