James Baker
Followers: 0 Following: 0
Feeds
已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
11 months 前
已解决
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...
11 months 前
已解决
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 ...
11 months 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
11 months 前
已解决
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...
11 months 前
已解决
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...
11 months 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
11 months 前
提问
Vector counting syntax help?
if i have a vector A = [1 1 1 1 2 3 3 5 5 5 5 6 6 7]... its alreay been sortecand only increases.. i want to create a 2nd vec...
3 years 前 | 1 个回答 | 0
1
个回答提问
Counting distinct elements in a vector?
ok lets say i have a vector A = (1 1 2 2 3 4 4 4 4 5 7 7 7) the original A vector was related to actual time, hence why its in...
3 years 前 | 1 个回答 | 0
1
个回答提问
Histogram graph help?
i have a vector called r = zeros(1000, 1); i use this vector to trap counts in some for and while loops... the for and while l...
3 years 前 | 0 个回答 | 0