Feeds
已解决
What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...
3 years 前
已解决
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
3 years 前
已解决
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...
3 years 前
已解决
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
3 years 前
已解决
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
3 years 前
已解决
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
3 years 前
已解决
MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9
3 years 前
已解决
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
3 years 前
已解决
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
3 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
3 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
3 years 前
已解决
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)...
3 years 前
已解决
Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....
3 years 前
已解决
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
3 years 前
已解决
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
3 years 前
已解决
Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...
3 years 前
已解决
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
3 years 前
已解决
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...
3 years 前
已解决
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
3 years 前
已解决
Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input
3 years 前

