photo

James Baker


Last seen: 11 months ago Active since 2021

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Commenter
  • Promoter
  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Solved


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 ago

Solved


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 ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

11 months ago

Solved


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 ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

11 months ago

Solved


Find max
Find the maximum value of a given vector or matrix.

11 months ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

11 months ago

Solved


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 ago

Solved


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 ago

Solved


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 ago

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers