解決済み


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

約3年 前

解決済み


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

約3年 前

解決済み


Check for keywords
If the entered string is a MATLAB keyword, return true else false

約3年 前

解決済み


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

約3年 前

解決済み


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

約3年 前

解決済み


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

約3年 前

解決済み


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

約3年 前

解決済み


Return area of square
Side of square=input=a Area=output=b

約3年 前

解決済み


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

約3年 前

解決済み


Laws of motion 6

約3年 前

解決済み


Laws of motion 3

約3年 前

解決済み


Total energy

約3年 前

解決済み


Potential energy calculation

約3年 前

解決済み


Kinetic energy calculation

約3年 前

解決済み


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

約3年 前

解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

約3年 前

解決済み


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

約3年 前

解決済み


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

約3年 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

約3年 前

解決済み


Convert radians to degrees
Given input in radians, output to degrees

約3年 前

解決済み


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

約3年 前

解決済み


Temperature Conversion 1

約3年 前

解決済み


String Logic 5
Example: 'CAT' --> 'TAC' 'DOG' --> 'GOD' 'MATLAB' --> 'BALTAM' 'ROSY' --> 'YSOR' 'TRUST' --> 'TSURT' 'MOSTLY' --> 'YLTS...

約3年 前

解決済み


String Logic 12
Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

約3年 前

解決済み


Laws of motion 5

約3年 前

解決済み


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

約3年 前

解決済み


Laws of motion 2

約3年 前

解決済み


Laws of motion 1

約3年 前

解決済み


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

約3年 前

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

約3年 前

さらに読み込む