02 - Vector Variables 1
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_2a.png>>
5ヶ月 前
解決済み
Find x in provided equation!
x^2-2*x+1=0
This polynomial can be expressed by using each term's coefficients, such as
[1 -2 1].
Using the polynomial ...
Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix.
For Example:
The sum of all positi...
Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...
Getting values from a vector
This exercise is for finding the values that meet your criteria.
a = [-5 28 7 83 73];
b = 23 ;
c = (a > b)
Then :
c =
...
5ヶ月 前
解決済み
Get the area of the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*.
<<http://imgfz.com/i/UzgCJut.png>>
Gi...
5ヶ月 前
解決済み
Matrizes Multiplicaveis
Dadas duas matrizes M1 e M2, verifique se as matrizes podem ser multiplicadas uma pela outra
M1 = [1 2 3; 4 5 6]
M2 = [7; 8; 9...
5ヶ月 前
解決済み
02 - Vector Variables 5
_eVec_ = _Hello_
( _eVec_ is a string, which is a vector of characters )