Inputting an equation as a variable
古いコメントを表示
hello. i need a way to have the user input an equation as a variable and then have it evaluate that function at various points during a for loop. please help
K=input('input equation') For N=1:1:4 ANSWER(N)=K(N)
採用された回答
その他の回答 (0 件)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!