MATLAB Answers

A Question About User Input Function

1 view (last 30 days)
Masoud Ghanbari
Masoud Ghanbari on 11 Apr 2013
How Can I Save several Functions ( Which Are Defined By Syms Command ) into an array Like F(i) And recall them using F(2) Or F(5)...
Or in The Another Word I want To Get Several Functions By User Input And Save Them To Recall Them when i want... something like this:
syms x y
num=input('Enter The Number Of Function You Want To Enter')
for i=1:num
F(i)=input('Enter The i'th Function')
end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!