Feeds
문제를 풀었습니다
Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...
대략 2개월 전
문제를 풀었습니다
Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...
대략 2개월 전
문제를 풀었습니다
Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...
대략 2개월 전
문제를 풀었습니다
Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...
대략 2개월 전
문제를 풀었습니다
Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.
대략 2개월 전
문제를 풀었습니다
Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.
대략 2개월 전
문제를 풀었습니다
03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>
대략 2개월 전
문제를 풀었습니다
GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA
대략 2개월 전
문제를 풀었습니다
Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)
대략 2개월 전
문제를 풀었습니다
The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...
대략 2개월 전
문제를 풀었습니다
iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- blank f...
대략 2개월 전
문제를 풀었습니다
Find distance travelled by an object starting from rest in time 't' and linear acceleration 'a' = 3t
Find distance travelled by an object starting from rest in time 't' with linear acceleration a = 3t. You are given time t as an ...
대략 2개월 전
문제를 풀었습니다
User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...
대략 2개월 전
문제를 풀었습니다
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
대략 2개월 전
문제를 풀었습니다
Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...
대략 2개월 전
문제를 풀었습니다
02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>
대략 2개월 전
문제를 풀었습니다
Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...
대략 2개월 전
문제를 풀었습니다
Ordinary Annuity : Periodic Payment (Present Value)
Theorem : Present Value of an Ordinary Annuity where; P : Present value of all payments A : Periodic payment r : Interest ...
대략 2개월 전
문제를 풀었습니다
Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...
대략 2개월 전
문제를 풀었습니다
Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...
대략 2개월 전
문제를 풀었습니다
Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.
대략 2개월 전

