문제를 풀었습니다


Row sum

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


delta x

대략 5년 전

문제를 풀었습니다


Swap

대략 5년 전

문제를 풀었습니다


NaN

대략 5년 전

문제를 풀었습니다


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

대략 5년 전

문제를 풀었습니다


sign function

대략 5년 전

문제를 풀었습니다


Write a cubic formula function
Create a function that will output the three roots of a cubic equation specified by the 4 coefficients listed as input. The outp...

대략 5년 전

문제를 풀었습니다


Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2] ...

대략 5년 전

문제를 풀었습니다


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

대략 5년 전

문제를 풀었습니다


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

대략 5년 전

문제를 풀었습니다


Insert zeros

대략 5년 전

문제를 풀었습니다


Find the solution of algebraic equation
Find the solution of algebraic equation of the form an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;...

대략 5년 전

문제를 풀었습니다


Matrix operation

대략 5년 전

문제를 풀었습니다


Row avg

대략 5년 전

문제를 풀었습니다


Real

대략 5년 전

문제를 풀었습니다


Insert zeros II

대략 5년 전

문제를 풀었습니다


find the height

대략 5년 전

문제를 풀었습니다


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

대략 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년 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

5년 초과 전

문제를 풀었습니다


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

5년 초과 전

문제를 풀었습니다


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

5년 초과 전

문제를 풀었습니다


imaginary results
Return the value of the imaginary number i to the power of input argument n.

5년 초과 전

문제를 풀었습니다


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

5년 초과 전

문제를 풀었습니다


Box
Give the volume of a box, x is equal to the body diagonal.

5년 초과 전

문제를 풀었습니다


Square
X is a number, write a code, where Y should be the square of X.

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

5년 초과 전

문제를 풀었습니다


Determine the area of square if length of the diagonal is given

5년 초과 전

더 보기