문제를 풀었습니다


Min-Max digit

거의 3년 전

문제를 풀었습니다


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

거의 3년 전

문제를 풀었습니다


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

거의 3년 전

문제를 풀었습니다


Remnant

거의 3년 전

문제를 풀었습니다


Logarithmically spaced vector creation using linspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

거의 3년 전

문제를 풀었습니다


Highest building

거의 3년 전

문제를 풀었습니다


Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

거의 3년 전

문제를 풀었습니다


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

거의 3년 전

문제를 풀었습니다


row removal
Consider a matrix and remove the first row of the matrix.

거의 3년 전

문제를 풀었습니다


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

거의 3년 전

문제를 풀었습니다


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

거의 3년 전

문제를 풀었습니다


Compute an improper integral of a ratio of algebraic functions

거의 3년 전

문제를 풀었습니다


How many days in a month?
Return the number of days in a given month in 2017. If the input is not a valid month number, return -1. Examples: Input...

거의 3년 전

문제를 풀었습니다


Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.

거의 3년 전

문제를 풀었습니다


Four digit number ABCD reversal
write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

거의 3년 전

문제를 풀었습니다


Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:
A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]

거의 3년 전

문제를 풀었습니다


Find the efficiency

거의 3년 전

문제를 풀었습니다


Matlab Table - Temperature Coefficient of Resistance

거의 3년 전

문제를 풀었습니다


find the index of local minimum in the matrix

거의 3년 전

문제를 풀었습니다


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

거의 3년 전

문제를 풀었습니다


Combination logic
Create an algorithm in MATLAB that calculate the combination for the given positive integers n and k as inputs. When k > n, the ...

거의 3년 전

문제를 풀었습니다


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

거의 3년 전

문제를 풀었습니다


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

거의 3년 전

문제를 풀었습니다


Approximation of an integral - Riemann sum
Riemann sum is a certain kind of approximation of an integral by a finite sum. In this problem, I want you to use Midpoint Riem...

거의 3년 전

문제를 풀었습니다


find the index of local maximum in matrix

거의 3년 전

문제를 풀었습니다


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

거의 3년 전

문제를 풀었습니다


Ordered pairs of integers (I, J).
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

거의 3년 전

문제를 풀었습니다


Where do the maximum number belongs within a 3-D matrix?
Suppose, you are given two variables a and b as inputs in 2-D format. Find out, where do the maximum number belongs (as output c...

거의 3년 전

문제를 풀었습니다


Multiply two polynomials p and q given in in vector representation.
Multiply two polynomials p and q given in vector representation. Example p=[-2 0 1 -1 3 2] q=[1 0 -1 2 ...

거의 3년 전

문제를 풀었습니다


Count the non-zero elements along the diagonals that are immediately next to the main diagonal
Suppose, you are being told to write a matrix, *a* as input in MATLAB with having the possibility of containing zero and non-zer...

거의 3년 전

더 보기