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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
11개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
문제를 풀었습니다
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개월 전
질문
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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 0 | 0