Solved
03 - Matrix Variables 1
Make the following variable:
<>
A 9x9 matrix full of 2's
(Hint: use *ones* o...
8 months ago
Solved
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...
8 months ago
Solved
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
8 months ago
Solved
Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
8 months ago
Solved
03 - Matrix Variables 3
Make the following variable:
<>
A 10x10 matrix where the numbers from 1 to 100 ...
8 months ago
Solved
03 - Matrix Variables 2
Make the following variable:
<>
A 9x9 matrix of zeros, but with the following v...
8 months ago
Solved
04 - Scalar Equations 3
Define the variables a, b, and c:
<>
<
8 months ago
Solved
06 - Matrix Equations 1
Define the vectors _aVec_ and _bVec_ and the matrix _aMat_:
<>
and
<
8 months ago
Solved
01 - Scalar variables
Create the following variables:
<>
8 months ago
Solved
06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_:
<>
( _aMat_ = 9x9 matrix full o...
8 months ago
Solved
07 - Common functions and indexing 2
Define _eMat_:
<>
Calculate eMean as the mean across the rows of _eMat_. The an...
8 months ago
Solved
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...
8 months ago
Solved
07 - Common functions and indexing 5
Create the vector _lin_:
<>
(the integers from 1 to 20)
Make every other val...
8 months ago
Solved
07 - Common functions and indexing 3
Define _eMat_:
<>
Create the variable _eMat2_, which is equal to _eMat_ with th...
8 months ago
Solved
07 - Common functions and indexing 1
Define _cMat_:
<>
( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...
8 months ago
Solved
02 - Vector Variables 1
Make the following variable:
<>
8 months ago
Solved
02 - Vector Variables 3
Make the following variable:
<>
(all the numbers from 5 to -5 in increments of ...
8 months ago
Solved
02 - Vector Variables 4
Make the following variable:
<>
(Logarithmically spaced numbers between 1 and 1...
8 months ago
Solved
02 - Vector Variables 5
_eVec_ = _Hello_
( _eVec_ is a string, which is a vector of characters )
8 months ago
Solved
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3
(Hint: use *randi*)
8 months ago
Solved
03 - Matrix Variables 5
Make the following variable:
<>
8 months ago
Solved
04 - Scalar Equations 1
Define the variable a:
<>
Use this to calculate x:
<
8 months ago
Solved
04 - Scalar Equations 2
Define the variables a and b:
<>
<...
8 months ago
Solved
05 - Vector Equations 1
Define the vector _cVec_:
<>
(all the numbers from 5 to -5 in increments of -0....
8 months ago
Solved
05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_:
<>
and
<
8 months ago
Solved
05 - Vector Equations 3
Define the vector _dVec_:
<>
(Logarithmically spaced numbers between 1 and 10)...
8 months ago
Solved
06 - Matrix Equations 2
Define the vectors _aVec_ and _bVec_:
<>
and
<
8 months ago
Solved
03 - Matrix Variables 4
Make the following variable:
<>
A 3x4 NaN (Not a Number) matrix
(Hint: use ...
8 months ago
Solved
raise 1/3
Raise a number to 1/3 power.
8 months ago
Solved
Box
Give the volume of a box, x is equal to the body diagonal.
8 months ago