Community Profile

photo

Neha Singh


IIT Roorkee

Attivo dal 2016

Followers: 0   Following: 0

Contatto

M Tech (RF and Microwaves)

Statistiche

  • Quiz Master
  • Scavenger Finisher
  • Speed Demon
  • Creator
  • Commenter
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

oltre 7 anni fa

Risolto


Display positive elements of matrix.
Display positive elements of matrix.

oltre 7 anni fa

Risolto


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

oltre 7 anni fa

Risolto


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

oltre 7 anni fa

Risolto


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

oltre 7 anni fa

Risolto


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

oltre 7 anni fa

Risolto


Square root of a number
Write a code that will output the square root of x.

oltre 7 anni fa

Risolto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

oltre 7 anni fa

Risolto


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

oltre 7 anni fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

oltre 7 anni fa

Risolto


Log of a number
Write a script that will give the log of x as output.

oltre 7 anni fa

Risolto


Find the qube of a give number.
You are given a number, find the qube of that number.

oltre 7 anni fa

Risolto


find sum of the numbers in array
calculate the sum of numbers in a given array

oltre 7 anni fa

Risolto


find max
You are given an array number find the maximum

oltre 7 anni fa

Risolto


find minimum
find the minimum from an array

oltre 7 anni fa

Risolto


Find mean
given an array, find the mean of the number in that array

oltre 7 anni fa

Risolto


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

oltre 7 anni fa

Risolto


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

oltre 7 anni fa

Risolto


first element of matrix
find the first elements of a column matrix

oltre 7 anni fa

Risolto


find lenth of array
you have given an array, find the length of that.

oltre 7 anni fa

Risolto


Find subtraction
Given a, b. Find a-b

oltre 7 anni fa

Risolto


list of prime numbers
n is given find the largest prime number <=n

oltre 7 anni fa

Risolto


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

oltre 7 anni fa

Risolto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

oltre 7 anni fa

Risolto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

oltre 7 anni fa

Risolto


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

oltre 7 anni fa

Carica altro