Junior
Norges Bank
Followers: 0 Following: 0
Statistics
RANK
4,375
of 290,058
REPUTATION
11
CONTRIBUTIONS
4 Questions
5 Answers
ANSWER ACCEPTANCE
75.0%
VOTES RECEIVED
6
RANK
of 19,631
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,451
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)')}; ...
12 years 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...
12 years 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)';...
12 years ago | 0
cellfun for objects
Summarizing the steps: lhs=(cellfun(@eval,script,'UniformOutput',false)); lhs=[lhs{:}]; lhs=reshape(lhs,size(script))...
12 years ago | 0
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 ...
12 years 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...
12 years 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...
12 years 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...
12 years 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')...
12 years ago | 2 answers | 0