
Saptarshi Roy
Renault Nissan Alliance, IIT Kharagpur, KGEC, India
Followers: 0 Following: 0
Professional Interests: Fault-Tolerance,Image processing,Digital Signal Processing,Embedded systems, Automotive control system
Statistiques
RANG
252 957
of 297 827
RÉPUTATION
0
CONTRIBUTIONS
1 Question
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
0
RANG
of 20 479
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
1 Public Chaîne
CLASSEMENT MOYEN
50
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...
presque 10 ans il y a
A résolu
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
environ 11 ans il y a
A résolu
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
environ 11 ans il y a
A résolu
Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...
plus de 11 ans il y a
A résolu
Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.
plus de 11 ans il y a
A résolu
Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...
plus de 11 ans il y a
A résolu
Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...
plus de 11 ans il y a
A résolu
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...
plus de 11 ans il y a
A résolu
Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...
plus de 11 ans il y a
A résolu
Local Minima
Given a vector of data x, find the values of local minimum that is smaller than its neighbor elements. For example, if x =...
plus de 11 ans il y a
A résolu
Find the index of the first occurrence of a value in a matrix
Given a matrix of scalars, find the first occurrence of -1 in each column. Output NaN for a column which does not contain the va...
plus de 11 ans il y a
A résolu
GJam 2014 China Rd B: Sudoku Checker
This Challenge is derived from <http://code.google.com/codejam/contest/2929486/dashboard#s=p0 GJam 2014 China Sudoku>. Large Cas...
plus de 11 ans il y a
A résolu
Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.
plus de 11 ans il y a
A résolu
Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...
plus de 11 ans il y a
A résolu
Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...
plus de 11 ans il y a
Problème
Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...
plus de 11 ans il y a | 2 | 345 solveurs
A résolu
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
plus de 11 ans il y a
A résolu
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
plus de 11 ans il y a
A résolu
Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...
plus de 11 ans il y a
A résolu
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
plus de 11 ans il y a
A résolu
Find the next prime number
Find the next prime number or numbers for given n. For example: n = 1; out = 2; or n = [5 7]; out = [7 11]; ...
plus de 11 ans il y a
A résolu
capable husband?
* The prospective husband must pass a background check, * and *functions* faithfully, as suggested by <http://www.mathworks.com...
plus de 11 ans il y a
A résolu
It's race time! Write a faster function than the test suite call of unique().
Write a function to get unique elements of a vector faster than unique()! Input will be a vector (of integers or floating point ...
plus de 11 ans il y a
A résolu
How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...
plus de 11 ans il y a
A résolu
Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'
plus de 11 ans il y a
A résolu
sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
plus de 11 ans il y a
A résolu
Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...
plus de 11 ans il y a
A résolu
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
plus de 11 ans il y a
A résolu
Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...
plus de 11 ans il y a