Solved

Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

casi 2 años ago

Solved

Good Morning :)
Just submit your solution between 05:00:00 and 10:00:00 (AM = Ante Meridiem = Before Noon). _Note : Consider Cody Server Time...

casi 2 años ago

Solved

Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

casi 2 años ago

Solved

Happy Free 15th Day of a Month!
Just submit your solution on 15th day of any month. *Related Challenges:* # <https://www.mathworks.com/matlabcentral/cody/...

casi 2 años ago

Solved

Happy Free Wednesday!
Just submit your solution on any Wednesday. *Related Challenges:* # Happy Free Wednesday! # <https://www.mathworks.com/m...

casi 2 años ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

casi 2 años ago

Solved

Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

casi 2 años ago

Solved

'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

casi 2 años ago

Solved

Calculate the CIRCUMFERENCE of circle.
Given the radius is 2, the circumference will be 12.5663.

casi 2 años ago

Solved

Friday or not
I love Friday. Please tell me whether the day is Friday. Dateformat is 'yyyy-mm-dd' or 'dd-mmm-yyyy' or 'mm/dd/yyyy'. Exa...

casi 2 años ago

Solved

Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

casi 2 años ago

Solved

Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

casi 2 años ago

Solved

Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

alrededor de 2 años ago

Solved

Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

alrededor de 2 años ago

Solved

サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例： >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

alrededor de 2 años ago

Solved

ベクトルのスケーリング

alrededor de 2 años ago

Solved

チェッカーボードを作ろう

alrededor de 2 años ago

Solved

Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

alrededor de 2 años ago

Solved

Temperature question
get the temperature...in celcius

alrededor de 2 años ago

Solved

free points
function y = your_fcn_name(x) y = x(1)+x(2); end

alrededor de 2 años ago

Solved

Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to \$2,000. 20% tax is paid for additional income u...

alrededor de 2 años ago

Solved

Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

alrededor de 2 años ago

Solved

The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...

alrededor de 2 años ago

Solved

vector indexes for a matrix
Matlab allows us to use several indexing styles making code simpler and easier to read than using loops. Vectors can have ve...

alrededor de 2 años ago

Solved

The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

alrededor de 2 años ago

Solved

Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

alrededor de 2 años ago

Solved

Separate even from odd numbers in a vector - with a loop
*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...

alrededor de 2 años ago

Solved

Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

alrededor de 2 años ago

Solved

The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

alrededor de 2 años ago

Solved

How many unique Pythagorean triples?
For a given integer |n|, return all <https://en.wikipedia.org/wiki/Pythagorean_triple Pythagorean triples> that inlude numbers s...

alrededor de 2 años ago

Load more