A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Round to nearest integer

presque 2 ans il y a

A résolu


Summy's even sum

presque 2 ans il y a

A résolu


Summy's odd sum

presque 2 ans il y a

A résolu


Add 2 Vectors

presque 2 ans il y a

A résolu


Find Sum of array

presque 2 ans il y a

A résolu


Simple sum 1

presque 2 ans il y a

A résolu


sign function

presque 2 ans il y a

A résolu


divide by 5

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Sum two matrices
Take two incoming matrices, and sum them

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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)

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

Charger plus