已解决


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

11 years 前

已解决


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

11 years 前

已解决


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

11 years 前

已解决


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

11 years 前

已解决


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

11 years 前

已解决


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

11 years 前

已解决


Negative matrix
Change the sign of all elements in given matrix.

11 years 前

已解决


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

11 years 前

已解决


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

11 years 前

已解决


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

11 years 前

已解决


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

11 years 前

已解决


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

11 years 前

已解决


Max of a Vector
Write a function to return the max of a vector

11 years 前

已解决


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

11 years 前

已解决


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

11 years 前

已解决


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

11 years 前

已解决


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

11 years 前

已解决


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

11 years 前

已解决


Concatenate two strings
Its very easy. Just concatenate two strings.

11 years 前

已解决


Reverse a matrix
Its simple. You have to reverse a given matrix.

11 years 前

已解决


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

11 years 前

已解决


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

11 years 前

已解决


Positive Infinity
Round the array a towards positive infinity

11 years 前

已解决


Negative Infinity
Round the given array a towards negative infinity.

11 years 前

已解决


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

11 years 前

已解决


reverse string
input='rama' output='amar'

11 years 前

已解决


ascii value
let input='a' output=97

11 years 前

已解决


Determine the square root
Determine the square root of the value the user has entered, n.

11 years 前

已解决


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

11 years 前

已解决


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

11 years 前

加载更多