Feeds
문제를 풀었습니다
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
11개월 전
문제를 풀었습니다
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...
11개월 전
문제를 풀었습니다
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
11개월 전
문제를 풀었습니다
Find The area of the square
Given that the length of the side of a square is x, find the area.
11개월 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
11개월 전
문제를 풀었습니다
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
11개월 전
문제를 풀었습니다
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
11개월 전
문제를 풀었습니다
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
11개월 전
문제를 풀었습니다
Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239
11개월 전
문제를 풀었습니다
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
11개월 전
문제를 풀었습니다
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
11개월 전
문제를 풀었습니다
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
11개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...
11개월 전
문제를 풀었습니다
Given length x find the area y of the square
Given length x find the area y of the square
11개월 전


