Solved


Mode
Find the mode of a vector x

1 year ago

Solved


Find the mean
Find the mean of a given sdet of numbers in a vector x

1 year ago

Solved


Prime Number
Determine if a number is prime

1 year ago

Solved


Remainder
Given two number a and b find the remainder when you divide a by b

1 year ago

Solved


Division
Given two numbers a and b divide them a/b

1 year ago

Solved


Multiplication
Given 2 numbers a and b mulitply them

1 year ago

Solved


Subtraction
Given two numbers a and b subtract them

1 year ago

Solved


Add two numbers
Given two numbers a and b add them together

1 year ago

Solved


x = 1

1 year ago

Solved


x = 3
write a funciton to make the variable x = 3

1 year ago

Solved


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

1 year ago

Solved


Cluster Partition
Given an array (row or column) of numbers, divide the array into consecutive positive/negative numbers. 0 is to be treated inde...

1 year ago

Solved


Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...

1 year ago

Solved


Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...

1 year ago

Solved


Find the closest e-abundant numbers
An abundant number is an integer whose sum of its positive proper divisors—or the sum of its divisors excluding itself—exceeds ...

1 year ago

Solved


Permuted Multiples: Project Euler Problem 52
Return the smallest positive integer, x, for which x, 2x, 3x, 4x, 5x, and 6x, all contain the same digits but in different order...

1 year ago

Solved


Matrix Diagonal Sum
Given a square matrix A of size n x n, write a function to compute the sum of the elements on both the main diagonal and the ant...

1 year ago

Solved


List e-perfect numbers
A perfect number is an integer that equals the sum of its positive proper divisors—or the sum of its divisors excluding itself. ...

1 year ago

Solved


Create a fibonacci series

1 year ago

Solved


Sum powers of e-divisors
In number theory the function produces the sum of divisors of an integer raised to the power . Setting sums the divisors, as ...

1 year ago

Solved


Bit Stream conversion to Audio Frequency Shift Key using Bell 202 (Modem)
Convert a character binary bit-stream transmitted at a certain baud-rate into an audio stream using Audio Frequency Shift Key (A...

1 year ago

Solved


Determine the e-divisors of an integer
From MathWorld: is called an e-divisor (or exponential divisor) of a number with prime factorization if and where for...

1 year ago

Solved


Count the e-divisors of an integer
Cody Problem 2664 asks us to count the divisors of an integer, and Cody Problem 60843 involves listing the e-divisors of an inte...

1 year ago

Solved


Test x = 1
Write a function to make the variable x = 1

1 year ago

Solved


List the notes of a major scale
If you have seen The Sound of Music, then you are familiar with the major scale: do, re, mi, fa, sol, la, ti, do. The C major sc...

1 year ago

Solved


Count Vowels at Even Indices
Write a function `vowelEvenIndices` that counts the number of vowels (a, e, i, o, u) located at even indices (0-based) in a give...

1 year ago

Solved


Given length x find the area y of the square
Given length x find the area y of the square

1 year ago

Solved


Bell 202 Decoder
Decode an audio frequency shift key stream at a certain baud-rate and sample rate into a binary stream of data using the Bell 20...

1 year ago

Solved


Project Euler Problem 48: Self Powers
The series,. Return a string of the last ten digits of the series:. Hint: Use modular arithmetic! Spoiler: The solution is...

1 year ago

Solved


Integer Division Without Remainder
Write a function that takes two positive integers, a and b, and returns the result of integer division (quotient) without remain...

1 year ago

Load more