Community Profile

photo

Kranthidhar


Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • Solver

View badges

Feeds

View by

Question


More efficient way for doing for and while loops.
Hi, I understand that in matlab for loops and while loops are some-what inefficient; I was wondering if there was an alternate,...

10 years ago | 2 answers | 0

2

answers

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

10 years 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:...

10 years ago