Community Profile

photo

Jason Casey


103 2019 年以降の合計貢献数

Jason Casey's バッジ

  • CUP Challenge Master
  • Promoter
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

約2ヶ月 前

解決済み


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

約2ヶ月 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

約2ヶ月 前

解決済み


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

約2ヶ月 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

約2ヶ月 前

解決済み


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

約2ヶ月 前

解決済み


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

約2ヶ月 前

解決済み


Concatenate two strings
Its very easy. Just concatenate two strings.

約2ヶ月 前

解決済み


Reverse a matrix
Its simple. You have to reverse a given matrix.

約2ヶ月 前

解決済み


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

約2ヶ月 前

解決済み


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

約2ヶ月 前

解決済み


Will there be a new leader?
Simply answer the title.

約2ヶ月 前

解決済み


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

約2ヶ月 前

解決済み


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

約2ヶ月 前

解決済み


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

約2ヶ月 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

約2ヶ月 前

解決済み


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

約2ヶ月 前

解決済み


Calculate square and cube of number
Calculate square and cube of number x

約2ヶ月 前

解決済み


factorial of a number x
Factorial of a number x

約2ヶ月 前

解決済み


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

約2ヶ月 前

解決済み


Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

約2ヶ月 前

解決済み


Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.

約2ヶ月 前

解決済み


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

約2ヶ月 前

解決済み


Square a Number
Given an input x, return y, which is equal to the square of x.

2ヶ月 前

解決済み


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

2ヶ月 前

解決済み


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

2ヶ月 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

2ヶ月 前

解決済み


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

2ヶ月 前

解決済み


Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

2ヶ月 前

解決済み


Divisible by 15
Write a function to determine if a number is divisible by 15. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

2ヶ月 前

Load more