Feeds
문제를 풀었습니다
Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6
대략 2개월 전
문제를 풀었습니다
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
대략 2개월 전
문제를 풀었습니다
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
대략 2개월 전
문제를 풀었습니다
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
대략 2개월 전
문제를 풀었습니다
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
대략 2개월 전
문제를 풀었습니다
Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...
대략 2개월 전
문제를 풀었습니다
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
대략 2개월 전
문제를 풀었습니다
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
대략 2개월 전
문제를 풀었습니다
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
대략 2개월 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
대략 2개월 전
문제를 풀었습니다
Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.
대략 2개월 전
문제를 풀었습니다
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
대략 2개월 전
문제를 풀었습니다
Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...
대략 2개월 전
문제를 풀었습니다
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
대략 2개월 전
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
대략 2개월 전
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
대략 2개월 전
문제를 풀었습니다
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
대략 2개월 전


