문제를 풀었습니다


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

대략 4년 전

문제를 풀었습니다


Interpolate scattered data.
Most data was scattered, and there is no gird. There are three data [c] in three different area [x,y]. x=[1 3 4]; y=[1 ...

대략 4년 전

문제를 풀었습니다


Calculate numerical integration.
x=0:0.01:1 y=@(x)x.^2 Using given two inputs(x and y), conduct numerical integration in x. (hint: trapz)

대략 4년 전

문제를 풀었습니다


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

대략 4년 전

문제를 풀었습니다


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

대략 4년 전

문제를 풀었습니다


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

대략 4년 전

문제를 풀었습니다


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

대략 4년 전

문제를 풀었습니다


Two dimensional moving average
A=[1 2 3 4 5 1 2 2 2 3 2 3 3 3 4 1 1 4 4 2] B=[1 1;1 1]; % This is can be used for weight factor of moving a...

대략 4년 전

문제를 풀었습니다


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

대략 4년 전

문제를 풀었습니다


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

대략 4년 전

문제를 풀었습니다


Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

대략 4년 전

문제를 풀었습니다


Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants for example : x = 'This is a very good Day!' y = 7/11

대략 4년 전

문제를 풀었습니다


Frequency Analysis of Text
Frequency analysis is a common task in cryptoanalysis. It is essentially counting the occurrences of alphabets (regardless of ca...

대략 4년 전

문제를 풀었습니다


Multiply pi
Multiply pi with x!

대략 4년 전

문제를 풀었습니다


Divide pi
Divide pi by x!

대략 4년 전

문제를 풀었습니다


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

대략 4년 전

문제를 풀었습니다


Mile to Kilometer
x is mile and y is km

대략 4년 전

문제를 풀었습니다


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

대략 4년 전

문제를 풀었습니다


Watt
Ampere x Volt = Watt

대략 4년 전

문제를 풀었습니다


Volume of Cylinder
Find the volume of a cylinder

대략 4년 전

문제를 풀었습니다


Percentage
There is x liter water and y gram => z is percentage of salt in water

대략 4년 전

문제를 풀었습니다


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

대략 4년 전

문제를 풀었습니다


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

대략 4년 전

문제를 풀었습니다


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

대략 4년 전

문제를 풀었습니다


Find 0 in array
Given array find where there 0 is.

대략 4년 전

문제를 풀었습니다


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

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

문제를 풀었습니다


Simple Matrix
Make the following matrix without typing it in one by one. [1 2 3; 2 4 6; 4 8 12] x=[1 2 3].

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

대략 4년 전

더 보기