解決済み


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

2年以上 前

解決済み


Square root of a number
Write a code that will output the square root of x.

2年以上 前

解決済み


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

2年以上 前

解決済み


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

2年以上 前

解決済み


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

2年以上 前

解決済み


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

2年以上 前

解決済み


Array of Ones
Create a 100 X 100 array of ones.

2年以上 前

解決済み


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

2年以上 前

解決済み


square root
Find the square root (y) of an input (x).

2年以上 前

解決済み


pressure to dB?
given x ratio of pressure, find corresponding y dB

2年以上 前

解決済み


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

2年以上 前

解決済み


Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

2年以上 前

解決済み


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

2年以上 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


Find the Pattern 2

2年以上 前

解決済み


Find the Pattern 4

2年以上 前

解決済み


Find the Pattern 3

2年以上 前

解決済み


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

2年以上 前

解決済み


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

2年以上 前

解決済み


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

2年以上 前

解決済み


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

2年以上 前

解決済み


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

2年以上 前

解決済み


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

2年以上 前

解決済み


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2年以上 前

さらに読み込む