문제를 풀었습니다


Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

9개월 전

문제를 풀었습니다


End Digits

9개월 전

문제를 풀었습니다


Min-Max digit

9개월 전

문제를 풀었습니다


Map all the indices of an Array Indices into a Vector giving Index vs Row and Column
Create an array of the row and column values for the indices of an array. This is typically performed using [r c]=ind2sub(siz...

9개월 전

문제를 풀었습니다


Fun with matrix
Design a sample matrix as given in the test cases

9개월 전

문제를 풀었습니다


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

9개월 전

문제를 풀었습니다


Return the sequence element I
Given a positive integer, x, return a positive integer, y, which is the xth term in the sequence [1 2 2 3 3 3...], in which one ...

9개월 전

문제를 풀었습니다


unique with nan
input x = [2 NaN 3 5 NaN; 1 NaN 4 9 NaN; 8 -2 7 6 -2; 7 4 8 5 4]; output y_correct = [2 ...

9개월 전

문제를 풀었습니다


Net Present Value of a Stream of Cash Flows
Calculate the net present value of a future cash flow vector given; future cash flow vector (F) and interest rate (i) assume;...

9개월 전

문제를 풀었습니다


Draw a x-by-x matrix 'Denmark flag'(Euro(2020)
Draw a x-by-x matrix 'Denmark flag' using '4' and '1'.(x is odd and bigger than 4) Number 4: Caption S.Kjær and number 1: K.S...

9개월 전

문제를 풀었습니다


Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

9개월 전

문제를 풀었습니다


Write a function to generate AND operation

9개월 전

문제를 풀었습니다


Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

9개월 전

문제를 풀었습니다


Recursion - Fun
Generate the first k terms in the sequence a(n) define recursively by a(n+1)=p*a(n)+(1+a(n)) with p=0.9 and a(1)=0.5 Te...

9개월 전

문제를 풀었습니다


Fermat's last theorem - again
For a given integer n, express it as a sum of two squares if possible. Return empty matrix otherwise. Solution may not be unique...

9개월 전

문제를 풀었습니다


Visualization of experimental data across a surface
Assume that you have taken data across the surface of a sample, for example sheet resistance. The data is stored in a Nx3 matri...

9개월 전

문제를 풀었습니다


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

9개월 전

문제를 풀었습니다


Simple sum 1

9개월 전

문제를 풀었습니다


Cycling — Normalized Power
In cycling, a power meter is an indispensable tool to record power output (in Watts) and measure fitness gains and performance m...

9개월 전

문제를 풀었습니다


Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...

9개월 전

문제를 풀었습니다


Return the sequence element II
Given positive integers x and n, return a positive integer, y, which is the nth term in the <https://en.wikipedia.org/wiki/Juggl...

9개월 전

문제를 풀었습니다


Create array of all Distances between two Sets of Points
This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points. Given Po...

9개월 전

문제를 풀었습니다


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

9개월 전

문제를 풀었습니다


Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

9개월 전

문제를 풀었습니다


Area of a triangle given its sides

9개월 전

문제를 풀었습니다


Generate a list of composite numbers

9개월 전

문제를 풀었습니다


JannaT is Loved By Me
JannaT was sTarTed loved by me and that time was in 2020. A year when JannaT will starT loving me when the year divided from th...

9개월 전

문제를 풀었습니다


Square Patterns in a square matrix

9개월 전

문제를 풀었습니다


The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...

9개월 전

더 보기