06 - Matrix Equations 1
Define the vectors _aVec_ and _bVec_ and the matrix _aMat_:
<<http://samle.dk/STTBDP/Assignment1_2a.png>>
and
<<http:/...
約5年 前
解決済み
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1.
Example:
Input x = [ 1 2 0 0 0
...
約5年 前
解決済み
frame of the matrix
Given the matrix M, return M without the external frame.
約5年 前
解決済み
Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_.
Note: NaNs are equal and there may be n...
約5年 前
解決済み
Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...
約5年 前
解決済み
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...
約5年 前
解決済み
Return unique values without sorting
If the input vector A is [42 1 1],
the output value B must be the unique values [42 1]
The *values of B are in the s...
Easy problem
This is an easy problem. Just click on submit.
約5年 前
解決済み
Solve equation numerically
y'=y
In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...
約5年 前
解決済み
Nth root of a number
Given an input and a number N, find the Nth root of the number(s)