01 - Scalar variables
Create the following variables:
<<http://samle.dk/STTBDP/Assignment1_1.png>>
1年以上 前
解決済み
03 - Matrix Variables 5
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_3e.png>>
1年以上 前
解決済み
07 - Common functions and indexing 1
Define _cMat_:
<<http://samle.dk/STTBDP/Assignment1_3c.png>>
( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...
1年以上 前
解決済み
03 - Matrix Variables 1
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_3a.png>>
A 9x9 matrix full of 2's
(Hint: use *ones* o...
1年以上 前
解決済み
07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6
Magic squares are defined as square matrices, where the sum of a...
1年以上 前
解決済み
02 - Vector Variables 3
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_2c.png>>
(all the numbers from 5 to -5 in increments of ...
1年以上 前
解決済み
07 - Common functions and indexing 5
Create the vector _lin_:
<<http://samle.dk/STTBDP/Assignment1_7e.png>>
(the integers from 1 to 20)
Make every other val...
1年以上 前
解決済み
03 - Matrix Variables 2
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_3b.png>>
A 9x9 matrix of zeros, but with the following v...
1年以上 前
解決済み
02 - Vector Variables 1
Make the following variable:
<<http://samle.dk/STTBDP/Assignment1_2a.png>>
Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody.
Return a string that is the user's portion of the current search...
1年以上 前
解決済み
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody.
Return the largest positive floating-point number MATLAB can han...
1年以上 前
解決済み
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input vector of numbers, output a square array with the...
1年以上 前
解決済み
Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n.
For example:
v=[1 2 3 4 5 6]
n=3
vNew =...
1年以上 前
解決済み
Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.