Feeds
已解决
MATLAB 101: Play with array Min-Max
An array is provided. For example, a= [ 2,1,11,4,5,13] Create an array from a like this way, out= [ 1,11,2,13,4,5] ➢ 1st take...
27 days 前
已解决
MATLAB 101: Student Marks Analyzer
An array is given that contains the marks received by a group of students in their class test. Write a function that processes t...
27 days 前
已解决
MATLAB 101: Equivalent Resistance Calculator
Calculate the equivalent resistance R_eq for n resistors connected in Series or Parallel.
27 days 前
已解决
MATLAB 101: Hypotenuse Calculator
Write a MATLAB function that accepts the base and height of a right-angled triangle (or arrays of bases and heights) and returns...
27 days 前
已解决
MATLAB 101: Rectangle Properties
Write a MATLAB function that accepts the length (L) and width (W) of a rectangle and returns two outputs: its area and its perim...
27 days 前
已解决
MATLAB 101: Area of an ellipse
Write a MATLAB function that accepts these two values a (major axis length), b (minor axis length) as inputs and returns the cal...
27 days 前
已解决
MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.
27 days 前
已解决
MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...
27 days 前
已解决
Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...
27 days 前
已解决
Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...
27 days 前
已解决
Basic Mathematics 1
If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...
27 days 前
已解决
Find the mass of a rod
Determine the mass (in grams) of a rod of length L cm if it is in equilibrium per the diagram. In the diagram L1, L2, L3 are di...
27 days 前
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
27 days 前
已解决
Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...
27 days 前
已解决
String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'
27 days 前
已解决
String Logic 6
Examples: 'CAT' --> 216 'DOG' --> 218 'ROSY' --> 333 'MATLAB' --> 433 'TRUST' --> 418 'MOSTLY' --> 488
27 days 前
已解决
String Logic 19
Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'
27 days 前
已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
27 days 前
已解决
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
27 days 前
已解决
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...
27 days 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
27 days 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
27 days 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
27 days 前

