Info
This question is closed. Reopen it to edit or answer.
Assigning values from an earlier function
3 views (last 30 days)
Show older comments
Hi everyone,
Sorry if my title is a bit vague. I have a function which I created, and takes two inputs N & Q. Later on in my project I am working on a different script which implements the said function.
So, in my script I am typing function1(4,5) where N=4 and Q=5. What I would like to do is get Matlab to actually assign N to 4 and Q to so I can use these letters later on in the script.
Any ideas on how to proceed?
Thanks
0 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!