A résolu


calculate square
r=2 a=3

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


m-->cm
m-->cm

plus de 12 ans il y a

A résolu


how much is log 1000
how much is log 1000

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


area of triangle
h=5 and x

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


retwgre
bgreyerb

plus de 12 ans il y a

A résolu


gsdgtre
gfdbr

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

Charger plus