![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1138299_1517510182913_DEF.jpg)
Junior
Norges Bank
Followers: 0 Following: 0
Statistics
RANK
3 918
of 293 484
REPUTATION
13
CONTRIBUTIONS
4 Questions
5 Answers
ANSWER ACCEPTANCE
75.0%
VOTES RECEIVED
7
RANK
of 20 033
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148 733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
cellfun for objects
This is what I finally did, based on Daniel's advice. script = {str2func('@(a,b,c,d)(a+b)'); str2func('@(a,b,c,d)(c-d)')}; ...
nästan 13 år ago | 0
cellfun for objects
I thought it might be instructive to see what the m-file would look like, the implementation i had earlier and that Sean is reco...
ungefär 13 år ago | 0
cellfun for objects
Hi Daniel, maybe you are onto something here. If I follow that route, I will have something like script={'@(a,b,c,d)(a+b)';...
ungefär 13 år ago | 0
cellfun for objects
Summarizing the steps: lhs=(cellfun(@eval,script,'UniformOutput',false)); lhs=[lhs{:}]; lhs=reshape(lhs,size(script))...
ungefär 13 år ago | 1
Question
cellfun for objects
Hi, I would like to run the following line of code lhs=(cellfun(@eval,script)); script is a cell array and the content ...
ungefär 13 år ago | 10 answers | 1
10
answersWhat is your unusual use of MATLAB?
I wrote a utility function taking as inputs the characteristics of a house (such as the location, neighborhood etc) and returnin...
ungefär 13 år ago | 5
Question
transforming an m-file to an anonymous or inline function
Hi, I have the following function function out=myfun(x,y,z) aa=h1(x,y,z); dd=h2(x,y,z); out=[x(1)+y(2) x(3)+z...
ungefär 13 år ago | 2 answers | 0
2
answersQuestion
expression substitution
Hi, I would like to use regexprep to substitute a simple expression for another in a text. As an example, I have the follow...
ungefär 13 år ago | 2 answers | 0
2
answersQuestion
Bug in symbolic toolbox?
Hi all, I am experiencing a strange behavior of the sym function. The result of sym('I') is 'I'. While the result of sym('A+I')...
ungefär 13 år ago | 2 answers | 0