Community Profile

photo

Prasad Reddy


Dell International

Last seen: 15 days ago Active since 2020

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

All
  • Leader
  • Introduction to MATLAB Master
  • Speed Demon
  • Creator
  • Knowledgeable Level 2
  • Commenter
  • Promoter
  • CUP Challenge Master
  • Community Group Solver
  • Thankful Level 1
  • Solver
  • First Answer

View badges

Content Feed

View by

Solved


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

16 days ago

Solved


Simple Interest : Calculate Present Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

16 days ago

Solved


Simple Interest : Calculate Future Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

17 days ago

Solved


Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)

17 days ago

Solved


Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

17 days ago

Solved


Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

17 days ago

Solved


Slope intercept application
Find y given slope (m), x, and y intercept (b).

17 days ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

17 days ago

Solved


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

17 days ago

Solved


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

17 days 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

17 days ago

Solved


y equals x divided by 2
function y = x/2

17 days ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

17 days ago

Solved


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

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

17 days ago

Solved


Ordered pairs of integers (I, J).
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

17 days ago

Solved


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

17 days ago

Solved


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

17 days ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

17 days ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

17 days ago

Solved


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

17 days ago

Solved


Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x. Examples: Input x = [1 2 3 4] Output y is 6 Input...

17 days ago

Solved


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

17 days 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 + ...

17 days ago

Solved


Row sum

17 days ago

Solved


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

17 days ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

17 days ago

Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

17 days ago

Solved


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

17 days ago

Solved


Sum sum!!!
Sum the numbers from 1 to n

17 days ago

Load more