Statistics
1 Question
0 Answers
RANK
253,826
of 301,433
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,272
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,520
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
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); %...
4 years ago | 1 answer | 0
