Solved


BaeIsAlwaysRight
Output yes whatever bae says

meer dan 4 jaar ago

Solved


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

meer dan 4 jaar ago

Solved


String count
given a string 'str', count the number of the followings - * letters * digits * white space * capital letters * smal...

meer dan 4 jaar ago

Problem


String count
given a string 'str', count the number of the followings - * letters * digits * white space * capital letters * smal...

meer dan 4 jaar ago | 2 | 18 solvers

Solved


Substring Extraction
In a given string, find the substring between Start_string and End_string. You will have to include or exclude the Start_str...

meer dan 4 jaar ago

Solved


count upper and lower case characters
In a given input string, count and return the number of upper and lower case characters as u and l respectively. For example:...

meer dan 4 jaar ago

Solved


Sum of unique multiples of 3 and 5
If we list all the natural numbers up to 15 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12 and 15. The sum of these mul...

meer dan 4 jaar ago

Solved


Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

meer dan 4 jaar ago

Solved


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

meer dan 4 jaar ago

Solved


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

meer dan 4 jaar ago

Solved


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

meer dan 4 jaar ago

Solved


Least common multiple of many numbers
1:6 -> 60

meer dan 4 jaar ago

Solved


Second Diagonal
Transpose the matrix from it's second diagonal.

meer dan 4 jaar ago

Solved


Datetime basics
Generate the datetime scalar representing the current date

meer dan 4 jaar ago

Solved


find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

meer dan 4 jaar ago

Solved


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

meer dan 4 jaar ago

Solved


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

meer dan 4 jaar ago

Solved


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

meer dan 4 jaar ago

Solved


convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

meer dan 4 jaar ago

Solved


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

meer dan 4 jaar ago

Solved


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

meer dan 4 jaar ago

Solved


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

meer dan 4 jaar ago

Solved


Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

meer dan 4 jaar ago

Solved


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

meer dan 4 jaar ago

Solved


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

meer dan 4 jaar ago

Solved


Basic matlab numeric and string manipulations
If entered input (n) is _numeric_ , compute its *log to the base (n+2)* , if it is a _lower case_ alphabet, *convert it to i...

meer dan 4 jaar ago

Solved


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

meer dan 4 jaar ago

Solved


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

meer dan 4 jaar ago

Solved


Check for keywords
If the entered string is a MATLAB keyword, return true else false

meer dan 4 jaar ago

Solved


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

meer dan 4 jaar ago

Load more