已解决


Tricky timing
Write a function that takes between 0.5 seconds and 0.6 seconds to run.

2 years 前

已解决


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

2 years 前

已解决


Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

2 years 前

已解决


Back to basics 2 - Function Path
Covering some basic topics I haven't seen elsewhere on Cody. Given a string that is the name of a MATLAB function, return a s...

2 years 前

已解决


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

2 years 前

已解决


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

2 years 前

已解决


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

2 years 前

已解决


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

2 years 前

已解决


Datetime basics
Generate the datetime scalar representing the current date

2 years 前

已解决


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

2 years 前

已解决


Numbers on 7-segment
This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...

2 years 前

已解决


Max of a Vector
Write a function to return the max of a vector

2 years 前

已解决


only input
Return the output without writing any code into the function.

2 years 前

已解决


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

2 years 前

已解决


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

2 years 前

已解决


Ripping numbers apart!
So you have to "rip" a number apart into individual digits... The end output is a cell. That is if: x = 12345678 o...

2 years 前

已解决


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

2 years 前

加载更多