Community Profile

photo

Anirban Pal


Last seen: 22일 전 2020년부터 활동

통계

All
  • Curator
  • Quiz Master
  • Community Group Solver
  • Puzzler
  • Indexing I Master
  • Commenter
  • Speed Demon
  • Creator
  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

2년 초과 전

질문


My Cody problems are getting deleted by the server
I created several problems recently in CODY. Some of them got removed automatically. I was curious as to why. It is possible th...

거의 3년 전 | 답변 수: 1 | 0

1

답변

문제


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

거의 3년 전 | 0 | 솔버 수: 41

문제


Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

거의 3년 전 | 2 | 솔버 수: 26

문제


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...

거의 3년 전 | 0 | 솔버 수: 32

문제


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년 전 | 1 | 솔버 수: 27

문제


Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

거의 3년 전 | 1 | 솔버 수: 26

문제


Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

거의 3년 전 | 1 | 솔버 수: 35

문제


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

거의 3년 전 | 0 | 솔버 수: 51

문제를 풀었습니다


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

3년 초과 전

문제를 풀었습니다


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

3년 초과 전

문제를 풀었습니다


Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

3년 초과 전

문제


Sum of terms in a series 2 (★★★)

3년 초과 전 | 0 | 솔버 수: 33

문제를 풀었습니다


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

3년 초과 전

문제를 풀었습니다


Digit concentration in Champernowne's constant
Consider the first 50 digits of Champernowne's constant 0.12345678910111213141516171819202122232425262728293... The...

3년 초과 전

문제


Approximate functions 2 (★★★★★)

3년 초과 전 | 1 | 솔버 수: 24

문제


Create a vector of n alternating ones and minus ones (★★)

3년 초과 전 | 0 | 솔버 수: 56

문제


Matrix with increasing numbers (★★★★)

3년 초과 전 | 1 | 솔버 수: 28

문제를 풀었습니다


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

3년 초과 전

문제를 풀었습니다


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

3년 초과 전

문제를 풀었습니다


Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

3년 초과 전

문제를 풀었습니다


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

3년 초과 전

문제를 풀었습니다


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

3년 초과 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

3년 초과 전

문제를 풀었습니다


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

3년 초과 전

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

3년 초과 전

문제를 풀었습니다


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

3년 초과 전

문제를 풀었습니다


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

3년 초과 전

문제를 풀었습니다


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

3년 초과 전

문제를 풀었습니다


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

3년 초과 전

더 보기