Solved


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

11 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

11 years ago

Solved


Variable_Addition
be able to add any variable to the number one

11 years ago

Solved


only input
Return the output without writing any code into the function.

11 years ago

Solved


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

11 years ago

Solved


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

11 years ago

Solved


Remove the Zero
Given an array n, remove all zeros

11 years ago

Solved


Variable Assignment
Complete the ? part by assigning myExamScore with 100.

11 years ago

Solved


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

11 years ago

Solved


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

11 years ago

Solved


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

11 years ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

11 years ago

Solved


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

11 years ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

11 years ago

Solved


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

11 years ago

Solved


Matlab Basics - Sum a vector
Write a script to add up all the elements in a vector e.g. x = [1 2 3 4] --> output = 10

11 years ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

11 years ago

Solved


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

11 years ago

Solved


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

11 years ago

Solved


factorial of a number x
Factorial of a number x

11 years ago

Solved


Narcissistic problem
How many likes has this problem?

11 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

11 years ago

Solved


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

11 years ago

Solved


times 5
Given the variable x as your input, multiply it by five and put the result in y.

11 years ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

11 years ago

Solved


How to make y half of x
Making y equal to x/2.

11 years ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

11 years ago

Solved


Perfect Square
Find a function that finds the root of a perfect number!

11 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

11 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

11 years ago

Load more