Community Profile

# Isaac Brambley

72 2019 年以降の合計貢献数

#### Isaac Brambley's バッジ

Create a vector
Create a vector from 0 to n by intervals of 2.

3ヶ月 前

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

3ヶ月 前

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];

7ヶ月 前

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

7ヶ月 前

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

7ヶ月 前

Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

7ヶ月 前

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

7ヶ月 前

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

7ヶ月 前

Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

7ヶ月 前

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

7ヶ月 前

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

7ヶ月 前

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

7ヶ月 前

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

7ヶ月 前

Calculate volume of box
Calculate the volume of box,hiven its sides

7ヶ月 前

reverse string
input='rama' output='amar'

7ヶ月 前

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

7ヶ月 前

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

7ヶ月 前

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

7ヶ月 前

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

8ヶ月 前

Find max
Find the maximum value of a given vector or matrix.

8ヶ月 前

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

8ヶ月 前

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

8ヶ月 前

Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

8ヶ月 前

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

8ヶ月 前

Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

8ヶ月 前

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

8ヶ月 前

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

8ヶ月 前

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

8ヶ月 前

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

8ヶ月 前

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8ヶ月 前