해결됨


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

약 1년 전

해결됨


System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

약 1년 전

해결됨


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

약 1년 전

해결됨


Check to see if a Sudoku Puzzle is Solved
*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

약 1년 전

해결됨


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

약 1년 전

해결됨


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

약 1년 전

해결됨


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

약 1년 전

해결됨


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

약 1년 전

해결됨


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

약 1년 전

해결됨


Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

약 1년 전

해결됨


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

약 1년 전

해결됨


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

약 1년 전

해결됨


Find the sum of n squares
What is the sum of the squares of the first n integers?

약 1년 전

해결됨


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

약 1년 전

해결됨


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

약 1년 전

해결됨


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

약 1년 전

해결됨


Determine if a row vector has NaN
Determine if a row vector x has NaN

약 1년 전

해결됨


Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

약 1년 전

해결됨


Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

약 1년 전

해결됨


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

약 1년 전

해결됨


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

약 1년 전

해결됨


Binary Coder
Take an input number and print the binary value of this number.

약 1년 전

해결됨


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

약 1년 전

해결됨


factorial of a number x
Factorial of a number x

약 1년 전

해결됨


Area of a circle
Find the value for area of the circle if diameter is given

약 1년 전

해결됨


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

약 1년 전

해결됨


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

약 1년 전

해결됨


middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

약 1년 전

해결됨


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

약 1년 전

해결됨


Determine the length of a string of characters
Determine the length of a string of characters

약 1년 전

더로드