Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


Degrees to Radian
Convert degrees to radians

circa 6 anni fa

Risolto


Temperature question
get the temperature...in celcius

circa 6 anni fa

Risolto


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'

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Risolto


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

circa 6 anni fa

Carica altro