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...
Plus x: A first program
_Solve this problem in Mathwork's online Cody system._
Write a statement that assigns y with 5 plus x.
Ex: If input x = 2,...
10年以上 前
解決済み
Unit Matrix
Given n, you should return an n-by-n unit matrix.
Example:
If input is n=2 then
A = [ 1 0
0 1 ]
If input ...
10年以上 前
解決済み
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by:
x = 1/2 gt^2
write a function that calculat...
10年以上 前
解決済み
times 5
Given the variable x as your input, multiply it by five and put the result in y.