Community Profile

# Shishir Patel

##### Last seen: 2달 전
151 2015 이후 총 참여 횟수

#### Shishir Patel's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

Is "profile_slrt()" removed from MATLAB?
I need to profile the execution of real-time application running on single-core target. For that, I tried to use "profile_slrt()...

4년 이하 전 | 답변 수: 0 | 0

### 0

답변

해결됨

Find the sum of n squares
What is the sum of the squares of the first n integers?

약 4년 전

해결됨

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

약 4년 전

해결됨

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

약 4년 전

해결됨

Crunch that matrix!
You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

약 4년 전

해결됨

Values in Array
How many values are in the array

약 4년 전

해결됨

Replace values out of an interval with the lower or upper values
For a vector or matrix X and an interval [n1,n2], the function replace every element of x inferior to n1 by n1, and every elemen...

약 4년 전

해결됨

nth Rational Number
Return the nth rational number. This is the inverse to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1471 1...

4년 이상 전

해결됨

Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

4년 이상 전

해결됨

Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

4년 이상 전

해결됨

Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

4년 이상 전

해결됨

N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

4년 이상 전

해결됨

Polite numbers. N-th polite number.
A polite number is an integer that sums of at least two consecutive positive integers. For example _7 = 3+4_ so 7 is a polite...

4년 이상 전

해결됨

Is this number Munchhausen Narcissistic?
In this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. Example 153 is narcissistic...

4년 이상 전

해결됨

Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

4년 이상 전

해결됨

Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

4년 이상 전

해결됨

Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

4년 이상 전

해결됨

Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

4년 이상 전

해결됨

Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

4년 이상 전

해결됨

Narcissistic number ?
Inspired by Problem 2056 created by Ted. In recreational number theory, a narcissistic number is a number that is the sum of ...

4년 이상 전

해결됨

Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

4년 이상 전

해결됨

Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

4년 이상 전

해결됨

Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

4년 이상 전

해결됨

Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

4년 이상 전

해결됨

multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

4년 이상 전

해결됨

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

4년 이상 전

해결됨

Spiral Matrix
for a given integer n>=3, generate a matrix of nxn such that the value n^2 is at bottom left and its decreasing towards center ...

4년 이상 전

해결됨

Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

4년 이상 전

문제

Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

4년 이상 전 | 0

해결됨

Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

4년 이상 전