Vector into the function showing scalar variables used
Show older comments
Hello! I have a "function a=fun(b,c)". The input variables b and c called into the function are both scalar. How can I create a vector into the function containing all values (b,c) called, together or separated, during the loop time in order to make accounts between new values and the previous one?
2 Comments
madhan ravi
on 28 Apr 2019
Well, you haven’t shown us how your function looks like and the expected output.
Heorhii Heorhiichuk
on 28 Apr 2019
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!