답변 있음
Rotation of a contour plot
Look at this example: a = 37; [x,y] = meshgrid(linspace(-4,4,30)); z = exp(-x.^2/15-y.^2); contour(x,y,z) xlim(...

거의 12년 전 | 0

| 수락됨

문제를 풀었습니다


Make an N-dimensional Multiplication Table
*INSTRUCTIONS* This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...

거의 12년 전

문제를 풀었습니다


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

거의 12년 전

문제를 풀었습니다


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

거의 12년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

거의 12년 전

문제를 풀었습니다


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

거의 12년 전

문제를 풀었습니다


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

거의 12년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

거의 12년 전

문제를 풀었습니다


Measure a Special Distance
Given an n-by-2 matrix with positive and negative numbers, return an n-by-n matrix in the manner of the function template.

거의 12년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

거의 12년 전

문제를 풀었습니다


Moving average (variable kernel length)
Find the moving average in a vector. The kernel length is a variable. For example x = 1:10 kernel_length = 2 would r...

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

거의 12년 전

문제를 풀었습니다


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

거의 12년 전

문제를 풀었습니다


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

거의 12년 전

문제를 풀었습니다


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

거의 12년 전

문제를 풀었습니다


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

거의 12년 전

문제를 풀었습니다


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

거의 12년 전

문제를 풀었습니다


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

거의 12년 전

문제를 풀었습니다


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

거의 12년 전

문제를 풀었습니다


Negative Infinity
Round the given array a towards negative infinity.

거의 12년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

거의 12년 전

문제를 풀었습니다


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

거의 12년 전

답변 있음
is it possible to square every element in equation ?
You have to use regular expression. <http://www.mathworks.com/help/matlab/ref/regexprep.html> Suppose that you use only s...

대략 12년 전 | 0

답변 있음
How can I solve this equation in MATLAB
Use mldivide operator to solve systems of linear equations of type Ax = b: <http://www.mathworks.com/help/matlab/ref/mldivide...

대략 12년 전 | 0

문제를 풀었습니다


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

대략 12년 전

문제를 풀었습니다


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

대략 12년 전

문제를 풀었습니다


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

대략 12년 전

문제를 풀었습니다


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

대략 12년 전

문제를 풀었습니다


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

대략 12년 전

더 보기