Fatima Abdulla HCT2021
Followers: 0 Following: 0
Feeds
已解决
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 years 前
已解决
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 years 前
已解决
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 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
3 years 前
已解决
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
3 years 前
已解决
Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.
3 years 前
已解决
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
3 years 前
已解决
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
3 years 前
已解决
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
3 years 前
已解决
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 years 前
已解决
Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.
3 years 前
已解决
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 years 前