解決済み


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

1年以上 前

解決済み


ascii value
let input='a' output=97

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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)

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


square of a number
find square of a given number

1年以上 前

解決済み


Values in Array
How many values are in the array

1年以上 前

さらに読み込む