Community Profile

photo

Crystal Lee


3 total contributions since 2018

Crystal Lee's Badges

  • Thankful Level 1
  • Solver

View details...

Contributions in
View by

Question


How to get rid of Warning"Unexpected use of '[' in a scalar context."
a part of the function has: if the input A (a vector) matches what is stated, the statement runs. if A == [1,3,3] ...

1 year ago | 2 answers | 0

2

answers

Question


How to get sum of a range
I am trying to get the code below to output the number of elements within v(a vector) that are below 2 and above 4. sum(s...

1 year ago | 1 answer | 0

1

answer

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...

2 years ago