Solved


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

meer dan een jaar ago

Solved


ascii value
let input='a' output=97

meer dan een jaar ago

Solved


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

meer dan een jaar ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

meer dan een jaar ago

Solved


Saving MATLAB session to a file
How to save MATLAB session to a file?

meer dan een jaar ago

Solved


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

meer dan een jaar ago

Solved


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

meer dan een jaar ago

Solved


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

meer dan een jaar ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

meer dan een jaar ago

Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

meer dan een jaar ago

Solved


Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

meer dan een jaar ago

Solved


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

meer dan een jaar ago

Solved


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

meer dan een jaar ago

Solved


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

meer dan een jaar ago

Solved


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

meer dan een jaar ago

Solved


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

meer dan een jaar ago

Solved


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

meer dan een jaar ago

Solved


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

meer dan een jaar ago

Solved


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

meer dan een jaar ago

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

meer dan een jaar ago

Solved


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

meer dan een jaar ago

Solved


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

meer dan een jaar ago

Solved


Reverse Calculator
Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

meer dan een jaar ago

Solved


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

meer dan een jaar ago

Solved


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

meer dan een jaar ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

meer dan een jaar ago

Solved


square of a number
find square of a given number

meer dan een jaar ago

Solved


Values in Array
How many values are in the array

meer dan een jaar ago

Load more