Risolto


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


Negative Infinity
Round the given array a towards negative infinity.

oltre 4 anni fa

Risolto


Positive Infinity
Round the array a towards positive infinity

oltre 4 anni fa

Risolto


frame of the matrix
Given the matrix M, return M without the external frame.

oltre 4 anni fa

Risolto


ASCii Code
Using Matlab get the ASCii for '?'

oltre 4 anni fa

Risolto


Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

oltre 4 anni fa

Risolto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

oltre 4 anni fa

Risolto


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

oltre 4 anni fa

Risolto


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

oltre 4 anni fa

Risolto


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

oltre 4 anni fa

Risolto


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

oltre 4 anni fa

Risolto


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

oltre 4 anni fa

Risolto


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

oltre 4 anni fa

Risolto


Rounding
Round 10.67 and make 'y' equal to that number.

oltre 4 anni fa

Risolto


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

oltre 4 anni fa

Risolto


More luck than brains
Give a random function that guess and return numbers from 1 to 6 exactly like the test suite .

oltre 4 anni fa

Risolto


Self-similarity 1 - Every other term
Self-similar integer sequences are certain sequences that can be reproduced by extracting a portion of the existing sequence. Se...

oltre 4 anni fa

Risolto


Energy Conversion 2

oltre 4 anni fa

Risolto


Energy Conversion 1

oltre 4 anni fa

Risolto


Velocity Conversion

oltre 4 anni fa

Risolto


Area Conversion 2

oltre 4 anni fa

Risolto


Area Conversion 1

oltre 4 anni fa

Risolto


Mass Conversion 2

oltre 4 anni fa

Risolto


Mass Conversion 1

oltre 4 anni fa

Risolto


Temperature Conversion 3

oltre 4 anni fa

Risolto


Temperature Conversion 2

oltre 4 anni fa

Risolto


Temperature Conversion 1

oltre 4 anni fa

Carica altro