問題


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年以上 前

さらに読み込む