photo

Crystal Lee


Last seen: meer dan 2 jaar ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

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

meer dan 6 jaar 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...

meer dan 6 jaar 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...

meer dan 6 jaar ago