Feeds
문제를 풀었습니다
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...
3일 전
문제를 풀었습니다
Response of First Order Control Systems
In practice, the input signal to an automatic control system is not known ahead of time but usually random in nature. Thus, in t...
3일 전
문제를 풀었습니다
Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...
3일 전
문제를 풀었습니다
Efficiency of a single phase Transformer
Calculate the efficiency of a single phase transformer whose KVA rating is A KVA, loading factor x,power factor p,full load copp...
6일 전
문제를 풀었습니다
MATLAB 101: Wye to Delta Impedance Converter
n electrical network analysis, transforming a Wye (Y) configuration of impedances (Z1, Z2, Z3) into an equivalent Delta (Delta) ...
6일 전
문제를 풀었습니다
Nodal Voltage of Resistor Ladder Network
* You have a bunch (an even number N) of identical resistors (each R ohms), a good battery (V volts) and a high impedance voltme...
6일 전
문제를 풀었습니다
Inductor Energy Storage Calculation
The energy (EEE) stored in an inductor is given by the formula: Where: E is the energy in joules (J) L is the inductance in...
10일 전
문제를 풀었습니다
Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...
10일 전
문제를 풀었습니다
Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...
10일 전
문제를 풀었습니다
Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...
11일 전
문제를 풀었습니다
Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10
11일 전
문제를 풀었습니다
Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
11일 전
문제를 풀었습니다
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
11일 전
문제를 풀었습니다
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
14일 전
문제를 풀었습니다
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
14일 전
문제를 풀었습니다
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
14일 전
문제를 풀었습니다
Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]
14일 전
문제를 풀었습니다
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
14일 전
문제를 풀었습니다
Sum all elements of a vector or matrix without using sum()
Write a function that computes the sum of all elements of the input array v without using the built-in sum function. The input ...
14일 전
문제를 풀었습니다
MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.
14일 전
답변 있음
How many positive entries in array
function count = positiveEntries(arr) count = sum(arr > 0); end
How many positive entries in array
function count = positiveEntries(arr) count = sum(arr > 0); end
대략 1개월 전 | 0
답변 있음
how to sum all elements of one vector?
v = [1 2 3 4 5]; total = sum(v); disp(total);
how to sum all elements of one vector?
v = [1 2 3 4 5]; total = sum(v); disp(total);
대략 1개월 전 | 0
답변 있음
Write a function to calculate the area of a circle
function area = circleArea(radius) area = pi * radius^2; end
Write a function to calculate the area of a circle
function area = circleArea(radius) area = pi * radius^2; end
대략 1개월 전 | 0
답변 있음
Write a MATLAB function that returns the square of a number.
function sqr=sqr(x) sqr=x^2; end
Write a MATLAB function that returns the square of a number.
function sqr=sqr(x) sqr=x^2; end
대략 1개월 전 | 0

