Solved


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

6 years ago

Solved


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

6 years ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

6 years ago

Solved


Product of Array
Given an array of numbers. Get the product of the array.

6 years ago

Solved


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

6 years ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

6 years ago

Solved


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

6 years ago

Solved


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

6 years ago

Solved


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

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

6 years ago

Solved


wipe out!
make all the elements in given x zero.

6 years ago

Solved


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

6 years ago

Solved


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

6 years ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

6 years ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

6 years ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

6 years ago

Solved


Calculate the volume of a cone
Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

6 years ago

Solved


Power Numbers
Find the n-th power of m.

6 years ago

Solved


Find the y=(1:x)
Look at the question

6 years ago

Solved


Proper Factors
Generate the proper factors of input integer _x_ and return them in ascending order. For more information on proper factors, ref...

6 years ago

Solved


Determine the length of a string of characters
Determine the length of a string of characters

6 years ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

6 years ago

Solved


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

6 years ago

Solved


pressure to dB?
given x ratio of pressure, find corresponding y dB

6 years ago

Solved


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

6 years ago

Solved


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

6 years ago

Solved


Finding peaks
Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...

6 years ago

Solved


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

6 years ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

6 years ago

Solved


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

6 years ago

Load more