Community Profile

# Ann Schaefer

43 total contributions since 2019

View details...

Contributions in
View by

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus d'un an ago

Solved

Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

plus d'un an ago

Solved

Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

plus d'un an ago

Solved

Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

plus d'un an ago

Solved

Add the input numbers to the original.

plus d'un an ago

Solved

free points
function y = your_fcn_name(x) y = x(1)+x(2); end

plus d'un an ago

Solved

Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

plus d'un an ago

Solved

Bruh
Return 'bruh'.

plus d'un an ago

Solved

plus d'un an ago

Solved

matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

plus d'un an ago

Solved

Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

plus d'un an ago

Solved

Box!
Given a box, find the volume of the cube. With each side = a.

plus d'un an ago

Solved

Times 3 problem
When you enter the number, it should return the number multiplied by 3

plus d'un an ago

Solved

Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

plus d'un an ago

Solved

plus d'un an ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

plus d'un an ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

plus d'un an ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

plus d'un an ago

Solved

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

plus d'un an ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

plus d'un an ago

Solved

Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

plus d'un an ago

Solved

raise 1/3
Raise a number to 1/3 power.

plus d'un an ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

plus d'un an ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

plus d'un an ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus d'un an ago

Solved

Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

plus d'un an ago

Solved

Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

plus d'un an ago