A Question About User Input Function

1 Ansicht (letzte 30 Tage)
Masoud Ghanbari
Masoud Ghanbari am 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

Antworten (0)

Kategorien

Mehr zu Formula Manipulation and Simplification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by