![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20501238_1606803291463_DEF.jpg)
Kumar Yashasvi
Followers: 0 Following: 0
Statistics
RANK
22,773
of 297,046
REPUTATION
2
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20,422
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
4 years 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...
4 years ago
Solved
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
4 years ago
Solved
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
4 years ago
Solved
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
4 years ago
Solved
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...
4 years ago
Solved
First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];
4 years ago
Solved
Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...
4 years ago
Solved
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
4 years ago
Solved
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
4 years ago
Solved
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
4 years ago
Solved
Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0
4 years ago
Solved
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
4 years ago
Solved
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
4 years ago
Solved
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
4 years ago
Solved
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 ...
4 years ago
Solved
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
4 years ago
Solved
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
4 years ago
Solved
Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
4 years ago
Solved
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
4 years ago
Solved
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
4 years ago
Solved
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
4 years ago
Solved
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
4 years ago
Solved
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
4 years ago