문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

거의 5년 전

문제를 풀었습니다


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

거의 5년 전

문제를 풀었습니다


convert matrix to single column
given any matrix, convert it to single column

거의 5년 전

문제를 풀었습니다


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

거의 5년 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

거의 5년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

거의 5년 전

문제를 풀었습니다


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

거의 5년 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

거의 5년 전

문제를 풀었습니다


Sum two matrices
Take two incoming matrices, and sum them

거의 5년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 5년 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

거의 5년 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

거의 5년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 5년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 5년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

거의 5년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

거의 5년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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.

거의 5년 전

문제를 풀었습니다


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

거의 5년 전

문제를 풀었습니다


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

거의 5년 전

답변 있음
how to create a single column matrix from two matrices in MATLAB
A=[1,2,3,4]; B= [7,4,6]; C = cat(2,A,B) % or cat(2,B,A) C = C'

거의 5년 전 | 0

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

거의 5년 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

더 보기