Resuelto


calculate square
r=2 a=3

casi 13 años hace

Resuelto


Number of elements in matrix
Just return number of elements in the matrix

casi 13 años hace

Resuelto


Number of rows in matrix
Return the number of rows in matrix

casi 13 años hace

Resuelto


Number of columns in matrix
Return the number of columns in matrix

casi 13 años hace

Resuelto


m-->cm
m-->cm

casi 13 años hace

Resuelto


how much is log 1000
how much is log 1000

casi 13 años hace

Resuelto


factor to number
e.g. input number x=10 then it should produce y=25 or x=100 then y should be 2255. write a function or code to generate the same...

casi 13 años hace

Resuelto


area of triangle
h=5 and x

casi 13 años hace

Resuelto


Calcucate area of square
calcutae area for example 1*1=2 ...

casi 13 años hace

Resuelto


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

casi 13 años hace

Resuelto


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

casi 13 años hace

Resuelto


retwgre
bgreyerb

casi 13 años hace

Resuelto


gsdgtre
gfdbr

casi 13 años hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

casi 13 años hace

Resuelto


Find matching string from a list of strings
Write a function that returns a string that is a unique match (if it exists) of the string |inStr| from a list of strings |strLi...

casi 13 años hace

Resuelto


Find Rotated Substring
Given a string s1, find if a rotated version of s1 is present in a second string s2. For example, rotated version of some str...

casi 13 años hace

Resuelto


Converting Decimal to Binary
Given a decimal number that may include a fractional component, convert it into binary representation. The numbers you are given...

casi 13 años hace

Resuelto


Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

casi 13 años hace

Resuelto


Create a Cell array of month-end date strings within a provided date range
This is a variation of <http://www.mathworks.com/matlabcentral/cody/problems/1039-get-an-array-of-month-ends-in-a-date-range Get...

casi 13 años hace

Resuelto


Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...

casi 13 años hace

Resuelto


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

casi 13 años hace

Resuelto


Encoding Google Maps Polylines
This problem is based on the Google Polyline Encoder algorithm. This is how Google Maps encodes a line for display on a map. You...

casi 13 años hace

Resuelto


Cell Source Index
Suppose that C is a cell array whose elements consist of row vectors of elements of the same type. For example, C could be a ce...

casi 13 años hace

Resuelto


Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

casi 13 años hace

Resuelto


The rabbit problem
Someone discovered that rabbits reproduce at the rate of fibonnaci so you just input the number and it will print the fibonnaci ...

casi 13 años hace

Resuelto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

casi 13 años hace

Resuelto


Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

casi 13 años hace

Resuelto


Simple problem creating a function from an abstract specification.
MYSTERYFUNCTION3 This takes a vector of numbers v and computes a vector w such the w[i] is the average of v[i] and the previous...

casi 13 años hace

Resuelto


False position (linear interpolation) method of finding a root.
Test the false position algorithm described in Chapter 5 of Steven C. Chapra's textbook, *Applied Numerical Methods with MATLAB ...

casi 13 años hace

Resuelto


Forward Substitution
Solve a lower triangular linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/...

casi 13 años hace

Cargar más