已解决


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

3 years 前

已解决


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

3 years 前

已解决


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

3 years 前

已解决


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

3 years 前

已解决


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

3 years 前

已解决


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

3 years 前

已解决


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

3 years 前

已解决


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

3 years 前

已解决


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3 years 前

已解决


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

3 years 前

已解决


Degrees to Radian
Convert degrees to radians

3 years 前

已解决


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

3 years 前

已解决


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

3 years 前

已解决


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

3 years 前

问题


Calculate convex quadrilateral Area: sides and an angle given

3 years 前 | 1 | 11 个解题者

问题


Calculate quadrilateral Area: sides and diagonals given

3 years 前 | 1 | 15 个解题者

已解决


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

3 years 前

已解决


Min of a Matrix
Return the minimum value in the given matrix.

3 years 前

问题


Calculate Triangle Area: A, B and Beta is given

3 years 前 | 1 | 20 个解题者

问题


Calculate Triangle Area, A, B and Gamma is given.

3 years 前 | 1 | 24 个解题者

已解决


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

3 years 前

已解决


Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.

3 years 前

已解决


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

3 years 前

已解决


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

3 years 前

已解决


calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

3 years 前

已解决


Back to basics 19 - character types
Covering some basic topics I haven't seen elsewhere on Cody. Return the number of punctuation characters in the input variabl...

3 years 前

已解决


Find the next state of a JK Flip-Flop
Find the next state (NS) of a JK Flip-Flop based on previous state (PS), inputs. Learn more about JK Flip-Flop theory here: ...

3 years 前

已解决


Number of Flip Flop required in ripple counter
Find the number of flip flop required in ripple counter. If modulus of counter (N) is given find outnumber of Flip Flop (n) r...

3 years 前

加载更多