Community Profile

photo

Ariit Sengupta


Last seen: 2년 초과 전 2021년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


I am trying to ask the user for a function of x that can be used subsequently in the code. I tried to use str2func but that is throwing an error
str = input('Give a function to minimize in x: ','s') ; f = "@x" +str; %%str2func(['@x '.*str]) ; f = str2func(f); %...

2년 초과 전 | 답변 수: 1 | 0

1

답변