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