Community Profile

photo

Steven Krausman


Last seen: 4 mesi ago Active since 2021

Coding for many years. New to Matlab.

Programming Languages:
Python, C++, C, C#, Javascript, MATLAB, Ruby, SQL, HTML, CSS, Shell
Spoken Languages:
English

Statistics

  • MATLAB Central Treasure Hunt Finisher
  • Solver

View badges

Content Feed

View by

Solved


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

5 mesi ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

5 mesi ago

Solved


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

5 mesi ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

5 mesi ago

Solved


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

5 mesi ago

Solved


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

5 mesi ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

5 mesi ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

6 mesi ago

Solved


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

6 mesi ago

Solved


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

6 mesi ago

Solved


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

6 mesi ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

6 mesi ago

Solved


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

6 mesi ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 mesi ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 mesi ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

6 mesi ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

6 mesi ago

Solved


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

6 mesi ago

Solved


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

6 mesi ago

Solved


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

6 mesi ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 mesi ago