Resuelto


true or false
if the matrix has a zero, return true. else, return false

alrededor de 6 años hace

Resuelto


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

alrededor de 6 años hace

Resuelto


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

alrededor de 6 años hace

Resuelto


Degrees to Radian
Convert degrees to radians

alrededor de 6 años hace

Resuelto


Temperature question
get the temperature...in celcius

alrededor de 6 años hace

Resuelto


Convert a number to its Roman representation
Convert a given number to its Roman representation. For example, if the number is 98, it should display 'XCVIII'

alrededor de 6 años hace

Resuelto


Palindrome numbers
Find the palindrome numbers (two or more digits) from 1 to n where n is the number passed to the function.

alrededor de 6 años hace

Resuelto


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

alrededor de 6 años hace

Resuelto


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

alrededor de 6 años hace

Resuelto


Calculate the CIRCUMFERENCE of circle.
Given the radius is 2, the circumference will be 12.5663.

alrededor de 6 años hace

Resuelto


Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Product of all elements in an array
Compute the product of all elements in an array.

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

alrededor de 6 años hace

Resuelto


Integer to boolean
Write a general function that will create the following conversation; Input is a column vector with integers Output is a b...

alrededor de 6 años hace

Resuelto


Sum Rows
Sum the same indexed (unique) rows. Examine the test suite. Related Challenge - <http://www.mathworks.com/matlabcentral/cody/...

alrededor de 6 años hace

Resuelto


Gauss Eliminate 2-by-2 example
Use forward elimination to make the coefficient matrix, A, an upper triangular matrix, and then solve using back substitution, f...

alrededor de 6 años hace

Resuelto


Do the lines intersect?
You are given two line segments. Do they cross? Consider one segment as (x1,y1) to (x2,y2), the other segment as (x3,y3) to (...

alrededor de 6 años hace

Resuelto


Pairwise Euclidean Distance
Given two matrices A,B of dimensions NxK and NxL respectively, calculate the pairwise euclidean distance of all vectors (columns...

alrededor de 6 años hace

Resuelto


ゼロでない要素が一番多い行を探そう
行列 a が与えられたとき、行列 a の中で一番ゼロの要素が少ない行のインデクス r を返す関数を作成しましょう。このとき、行列 a には一つだけしかこの条件に当てはまる行がないと仮定します。 例: 入力として、行列 a = [ 1 ...

alrededor de 6 años hace

Cargar más