How can I pass output of a function in another function
Show older comments
I have 2 function and one script.
The script basically calls 'BallDetection' function and stores the output in 3 matrices as Zvec,Avec,Dvec.Now I want to pass the values of Avec and Dvec in a second function called MyUpdatedEKFFun.
So how do I do that is there any other method you can suggest will be very helpful.
Thanks.
4 Comments
Alex Mcaulley
on 16 May 2019
What's wrong with:
[Zvec,Avec,Dvec] = BallDetection(inputs);
[outputs] = MyUpdatedEKFFun(Avec,Dvec);
Tipu Sultan
on 16 May 2019
Alex Mcaulley
on 16 May 2019
Please, attach the functions and the script.
Tipu Sultan
on 16 May 2019
Answers (0)
Categories
Find more on Matrices and Arrays 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!