Fatima Abdulla HCT2021
Content Feed
解決済み
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
約3年 前
解決済み
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
約3年 前
解決済み
Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...
約3年 前
解決済み
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
約3年 前
解決済み
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
約3年 前
解決済み
Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.
約3年 前
解決済み
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
約3年 前
解決済み
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
約3年 前
解決済み
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
約3年 前
解決済み
Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.
約3年 前
解決済み
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
約3年 前