Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.
Exam...
Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV'
|
II | I
| ...
9年弱 前
解決済み
Back to basics 20 - singleton dimensions
Covering some basic topics I haven't seen elsewhere on Cody.
Remove the singleton dimensions from the input variable (e.g. if...
Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody.
Return a cell array of strings of all MATLAB keywords.
9年弱 前
解決済み
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
9年弱 前
解決済み
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...
9年弱 前
解決済み
Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody.
Return a string that is the path to the system's current temp di...
9年弱 前
解決済み
kmph to mps
convert kilometer per hour to meter per second
9年弱 前
解決済み
02 - Vector Variables 5
_eVec_ = _Hello_
( _eVec_ is a string, which is a vector of characters )
9年弱 前
解決済み
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3
(Hint: use *randi*)
9年弱 前
解決済み
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
9年弱 前
解決済み
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody.
Return the class of the input variable.
9年弱 前
解決済み
Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input matrix and row and column, output the index of th...
9年弱 前
解決済み
Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...