Community Profile

photo

Justin Illingworth


218 total contributions since 2019

Justin Illingworth's Badges

  • Community Group Solver
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Commenter
  • Promoter
  • Solver

View details...

Contributions in
View by

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

1 day ago

Solved


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

1 day ago

Solved


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

1 day ago

Solved


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

1 day ago

Solved


Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

1 day ago

Solved


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

1 day ago

Solved


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

1 day ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

1 day ago

Solved


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

5 days ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

5 days ago

Solved


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]

5 days ago

Solved


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...

5 days ago

Solved


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

5 days ago

Solved


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

5 days ago

Solved


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

5 days ago

Solved


Min of a Matrix
Return the minimum value in the given matrix.

5 days ago

Solved


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

5 days ago

Solved


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

5 days ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

5 days ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

5 days ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

5 days ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

5 days ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

5 days ago

Solved


Area of rhombus
Calculate the rhombus area

5 days ago

Solved


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

5 days ago

Solved


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

5 days ago

Solved


Max of a Vector
Write a function to return the max of a vector

5 days ago

Solved


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

5 days ago

Solved


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

7 days ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

8 days ago

Load more