Feeds
문제를 풀었습니다
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 ...
11개월 전
문제를 풀었습니다
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
11개월 전
문제를 풀었습니다
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
11개월 전
문제를 풀었습니다
the average value of the elements
Calculate the average value of the elements in the array
12개월 전
문제를 풀었습니다
Given length x find the area y of the square
Given length x find the area y of the square
12개월 전
문제를 풀었습니다
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
12개월 전
문제를 풀었습니다
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
12개월 전
문제를 풀었습니다
Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)
12개월 전
문제를 풀었습니다
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
12개월 전
문제를 풀었습니다
BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...
12개월 전
문제를 풀었습니다
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
12개월 전
문제를 풀었습니다
Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I where: V is the voltage (in volts) I is the current (in ampere...
12개월 전
문제를 풀었습니다
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...
12개월 전
문제를 풀었습니다
Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000
12개월 전
문제를 풀었습니다
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
12개월 전
문제를 풀었습니다
Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...
12개월 전


