Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

alrededor de 1 año hace

Resuelto


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

alrededor de 1 año hace

Resuelto


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

alrededor de 1 año hace

Resuelto


Round to nearest integer

alrededor de 1 año hace

Resuelto


Summy's even sum

alrededor de 1 año hace

Resuelto


Summy's odd sum

alrededor de 1 año hace

Resuelto


Add 2 Vectors

alrededor de 1 año hace

Resuelto


Find Sum of array

alrededor de 1 año hace

Resuelto


Simple sum 1

alrededor de 1 año hace

Resuelto


sign function

alrededor de 1 año hace

Resuelto


divide by 5

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

alrededor de 1 año hace

Resuelto


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

alrededor de 1 año hace

Resuelto


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

alrededor de 1 año hace

Resuelto


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

alrededor de 1 año hace

Resuelto


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

alrededor de 1 año hace

Resuelto


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

alrededor de 1 año hace

Resuelto


Sum two matrices
Take two incoming matrices, and sum them

alrededor de 1 año hace

Resuelto


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

alrededor de 1 año hace

Resuelto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

alrededor de 1 año hace

Resuelto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

alrededor de 1 año hace

Resuelto


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

alrededor de 1 año hace

Resuelto


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

alrededor de 1 año hace

Resuelto


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

alrededor de 1 año hace

Resuelto


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

alrededor de 1 año hace

Resuelto


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

alrededor de 1 año hace

Cargar más