已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


Round to nearest integer

1 year 前

已解决


Summy's even sum

1 year 前

已解决


Summy's odd sum

1 year 前

已解决


Add 2 Vectors

1 year 前

已解决


Find Sum of array

1 year 前

已解决


Simple sum 1

1 year 前

已解决


sign function

1 year 前

已解决


divide by 5

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


Sum two matrices
Take two incoming matrices, and sum them

1 year 前

已解决


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

1 year 前

已解决


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

1 year 前

已解决


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

1 year 前

已解决


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)

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

已解决


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

1 year 前

加载更多