And_Or
Content Feed
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
거의 4년 전
문제를 풀었습니다
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
거의 4년 전
문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
거의 4년 전
문제를 풀었습니다
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
거의 4년 전
문제를 풀었습니다
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
거의 4년 전
문제를 풀었습니다
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
거의 4년 전
문제를 풀었습니다
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
거의 4년 전
문제를 풀었습니다
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
거의 4년 전
문제를 풀었습니다
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...
거의 4년 전
답변 있음
Dis-similarity in transfer function of DC motor
I assume that you want the transfer function that has the the armature voltage as the input and the rotational speed as the outp...
Dis-similarity in transfer function of DC motor
I assume that you want the transfer function that has the the armature voltage as the input and the rotational speed as the outp...
거의 4년 전 | 0
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
거의 4년 전
문제를 풀었습니다
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 ...
거의 4년 전
문제를 풀었습니다
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
거의 4년 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
거의 4년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
거의 4년 전
답변 있음
a function that draws a plot: use a variable name for a legend
If you want to get the variable name inside a function, you can use the "inputname" function: https://www.mathworks.com/help/m...
a function that draws a plot: use a variable name for a legend
If you want to get the variable name inside a function, you can use the "inputname" function: https://www.mathworks.com/help/m...
거의 4년 전 | 0
| 수락됨
답변 있음
A function that outputs the mean and standard deviation
Hello Christopher I think that what you want is to define a function like this: function [M, VSD] = mean_stdev(A) %...
A function that outputs the mean and standard deviation
Hello Christopher I think that what you want is to define a function like this: function [M, VSD] = mean_stdev(A) %...
거의 4년 전 | 1