문제


Create a code for XNOR
Given two inputs, output XNOR of those two

9년 초과 전 | 8 | 솔버 수: 115

문제를 풀었습니다


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

9년 초과 전

문제


Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1 1 1]

9년 초과 전 | 8 | 솔버 수: 62

문제를 풀었습니다


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

9년 초과 전

문제


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

9년 초과 전 | 16 | 솔버 수: 2512

문제


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

9년 초과 전 | 11 | 솔버 수: 310

문제


Create tangent function out of sine function only
Please don't use cosine and tangent functions

9년 초과 전 | 8 | 솔버 수: 115

문제


Create tangent function out of cosine only
Please don't use tangent and sine functions

9년 초과 전 | 9 | 솔버 수: 95

문제


Create tangent function out of sin and cos
Please don't use tan(x) directly

9년 초과 전 | 8 | 솔버 수: 118

문제


Create sine function out of cosine
Please don't use sin(x) directly

9년 초과 전 | 9 | 솔버 수: 106

문제


Create cosine function out of sine
Please dont use cos(x) directly

9년 초과 전 | 10 | 솔버 수: 117

문제를 풀었습니다


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

9년 초과 전

문제를 풀었습니다


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

9년 초과 전

문제


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

9년 초과 전 | 9 | 솔버 수: 49

문제


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

9년 초과 전 | 9 | 솔버 수: 62

문제를 풀었습니다


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

9년 초과 전

문제


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

9년 초과 전 | 8 | 솔버 수: 87

문제를 풀었습니다


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

9년 초과 전

문제를 풀었습니다


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

9년 초과 전

문제를 풀었습니다


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

9년 초과 전

문제를 풀었습니다


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

9년 초과 전

문제를 풀었습니다


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

9년 초과 전

문제를 풀었습니다


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

9년 초과 전

문제를 풀었습니다


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

9년 초과 전

문제를 풀었습니다


Convert Roman to Arabic Numerals
Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....

9년 초과 전

문제를 풀었습니다


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제


Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 1 3 6 9; 0 0 1 3 6; 0 0 0 1...

9년 초과 전 | 9 | 솔버 수: 63

문제를 풀었습니다


Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

9년 초과 전

문제를 풀었습니다


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

9년 초과 전

더 보기