Arif Ullah
2019년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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...
거의 5년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 5년 전
문제를 풀었습니다
sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...
거의 5년 전
문제를 풀었습니다
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]
거의 5년 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
거의 5년 전
문제를 풀었습니다
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
거의 5년 전
문제를 풀었습니다
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
거의 5년 전
문제를 풀었습니다
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
거의 5년 전
문제를 풀었습니다
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]
거의 5년 전
문제를 풀었습니다
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...
거의 5년 전
문제를 풀었습니다
metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...
거의 5년 전
문제를 풀었습니다
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
거의 5년 전
문제를 풀었습니다
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
거의 5년 전
문제를 풀었습니다
Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.
거의 5년 전
문제를 풀었습니다
Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).
거의 5년 전
문제를 풀었습니다
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...
거의 5년 전
문제를 풀었습니다
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
거의 5년 전
문제를 풀었습니다
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
거의 5년 전
문제를 풀었습니다
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
거의 5년 전
문제를 풀었습니다
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...
거의 5년 전
문제를 풀었습니다
Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...
거의 5년 전
문제를 풀었습니다
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
거의 5년 전
문제를 풀었습니다
radius of a spherical planet
You just measured its surface area, that is the input.
거의 5년 전