Gelöst


Determine if all elements are odd
Given an array, return true if all of the elements are odd. ex. x = [3 4 1] allOdd(x) ans = false ex. x = [3 5 7; 5 9...

fast 4 Jahre vor

Gelöst


Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

fast 4 Jahre vor

Gelöst


Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...

fast 4 Jahre vor

Gelöst


Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

fast 4 Jahre vor

Gelöst


Taxi vs Euclides

fast 4 Jahre vor

Gelöst


Mean Square Error

fast 4 Jahre vor

Gelöst


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

fast 4 Jahre vor

Gelöst


Find the optimal shape to bring the maximum product by a given perimeter
Find the optimal shape (with Nopt sides, where Nopt is at least 3) to bring the maximum product of the sides length, given a spe...

fast 4 Jahre vor

Gelöst


Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

fast 4 Jahre vor

Gelöst


Sort accordingly

fast 4 Jahre vor

Gelöst


Insert zeros II

fast 4 Jahre vor

Gelöst


Swap

fast 4 Jahre vor

Gelöst


Insert zeros

fast 4 Jahre vor

Gelöst


Matrix operation

fast 4 Jahre vor

Gelöst


Row sum

fast 4 Jahre vor

Gelöst


Size

fast 4 Jahre vor

Gelöst


Swap rows

fast 4 Jahre vor

Gelöst


size

fast 4 Jahre vor

Gelöst


Set zero

fast 4 Jahre vor

Gelöst


Temperature Conversion 1

fast 4 Jahre vor

Gelöst


Draw a '9' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '6' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '2' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '4' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '5' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '8' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '3' in a zero matrix!

fast 4 Jahre vor

Gelöst


Draw a '1' in a zero matrix!

fast 4 Jahre vor

Gelöst


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

fast 4 Jahre vor

Mehr laden