문제를 풀었습니다


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

4일 전

문제를 풀었습니다


Second Diagonal
Transpose the matrix from it's second diagonal.

4일 전

문제를 풀었습니다


Number Puzzle - 109

4일 전

문제를 풀었습니다


Draw Letter 'L'

4일 전

문제를 풀었습니다


Median filter over three values
Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

4일 전

문제를 풀었습니다


Pascal's Triangle
Create a matrix of size N x N containing a Pascal's Triangle that starts from the upper left corner according to the test cases ...

4일 전

문제를 풀었습니다


Create rectangular function.
Rectangular function - Wikipedia

4일 전

문제를 풀었습니다


Convert row and column subscripts to linear indices
Convert 2D row and column subscripts to linear indices WITHOUT sub2ind Example: row = [1 2 3 1]; col = [2 2 2 3]; sz = [3 3]...

4일 전

문제를 풀었습니다


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

4일 전

문제를 풀었습니다


Number Puzzle - 110

4일 전

문제를 풀었습니다


Number Puzzles - 014

4일 전

문제를 풀었습니다


Back to basics 16 - byte order
Covering some basic topics I haven't seen elsewhere on Cody. Switch the byte order of the input (i.e. if little-endian -> big...

4일 전

문제를 풀었습니다


Insert zeros

4일 전

문제를 풀었습니다


No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...

4일 전

문제를 풀었습니다


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

4일 전

문제를 풀었습니다


Number Puzzle - 048

4일 전

문제를 풀었습니다


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

4일 전

문제를 풀었습니다


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

4일 전

문제를 풀었습니다


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

4일 전

문제를 풀었습니다


Compound interest - number e
A moneylender wants to receive his annual interest of 12% more frequently. If he receives his interest rate every six months,...

4일 전

문제를 풀었습니다


Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

4일 전

문제를 풀었습니다


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

4일 전

문제를 풀었습니다


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

4일 전

문제를 풀었습니다


[Thermodynamics] Estimate boiling point of n-alkanes
Estimate the boiling point (in Kelvin) of n-Alkanes (n >= 2) using the group contribution method of Joback --- ...

4일 전

문제를 풀었습니다


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

4일 전

문제를 풀었습니다


Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...

4일 전

문제를 풀었습니다


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.

4일 전

문제를 풀었습니다


Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern. e.g. N = 5; 1 0 0...

4일 전

문제를 풀었습니다


Person of interest?
given a person_of_interest, what is his_name?

8일 전

문제를 풀었습니다


Find argmax of a function
You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.

8일 전

더 보기