Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Round to nearest integer

quasi 2 anni fa

Risolto


Summy's even sum

quasi 2 anni fa

Risolto


Summy's odd sum

quasi 2 anni fa

Risolto


Add 2 Vectors

quasi 2 anni fa

Risolto


Find Sum of array

quasi 2 anni fa

Risolto


Simple sum 1

quasi 2 anni fa

Risolto


sign function

quasi 2 anni fa

Risolto


divide by 5

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Sum two matrices
Take two incoming matrices, and sum them

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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)

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Carica altro