A résolu


Interior angles
Find the sum of interior angles for polygon of x sides.

environ un mois il y a

A résolu


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

environ un mois il y a

A résolu


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

environ un mois il y a

A résolu


Largest Prime Number
Given a matrix X, find the largest prime number in X.

environ un mois il y a

A résolu


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

environ un mois il y a

A résolu


Square
square root of x

environ un mois il y a

A résolu


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

environ un mois il y a

A résolu


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

environ un mois il y a

A résolu


raise 1/3
Raise a number to 1/3 power.

environ un mois il y a

A résolu


area

environ un mois il y a

A résolu


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

environ un mois il y a

A résolu


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

environ un mois il y a

A résolu


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

environ un mois il y a

A résolu


Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1

environ un mois il y a

A résolu


Tabuada
Dado um inteiro N, retorne um vetor contendo a tabuada de N de 1 a 10; ex: Tabuada(5) = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50...

environ un mois il y a

A résolu


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

environ un mois il y a

A résolu


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

environ un mois il y a

A résolu


Find S-parameters of the circuit
Refer to <http://en.wikipedia.org/wiki/Scattering_parameters> for the information about the system of scattering parameters. ...

environ un mois il y a

A résolu


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

environ un mois il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

environ un mois il y a

A résolu


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

environ un mois il y a

A résolu


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

environ un mois il y a

A résolu


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

environ un mois il y a

A résolu


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

environ un mois il y a

A résolu


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


Accessing values in a cell
You are given c, which is a 1xN cell array, and a and b, which are each two 1xM vectors. Your job is to give the bth value in t...

environ un mois il y a

A résolu


UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

environ un mois il y a

A résolu


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

environ un mois il y a

A résolu


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

environ un mois il y a

Charger plus