Community Profile

photo

Sameer Hussain


Last seen: alrededor de 1 año hace Con actividad desde 2020

Followers: 0   Following: 0

Estadísticas

  • CUP Challenge Master
  • Promoter
  • Commenter
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


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

más de 3 años hace

Resuelto


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

más de 3 años hace

Resuelto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

más de 3 años hace

Resuelto


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

más de 3 años hace

Resuelto


Reverse a matrix
Its simple. You have to reverse a given matrix.

más de 3 años hace

Resuelto


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

más de 3 años hace

Resuelto


Times 3 problem
When you enter the number, it should return the number multiplied by 3

más de 3 años hace

Resuelto


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

más de 3 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 3 años hace

Resuelto


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


radius of a spherical planet
You just measured its surface area, that is the input.

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Resuelto


find

más de 3 años hace

Cargar más