![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1302827_1522086914124_DEF.jpg)
Bård Skaflestad
SINTEF
Followers: 0 Following: 0
Statistics
RANK
1,775
of 297,046
REPUTATION
37
CONTRIBUTIONS
6 Questions
13 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
10
RANK
of 20,422
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Assign Value to Multiply Indexed Range
Suppose control is an m-element one-dimensional structure array such that each element contains another n-element one-dimensiona...
5 years ago | 1 answer | 0
1
answerQuestion
Is regexptranslate('escape') Too Eager?
I'm performing regular expression matching on strings of the form 'S:\repo\mrst\code\gitbucket\mrst-core' which represen...
9 years ago | 0 answers | 0
0
answersQuestion
Computational Speed of MLDIVIDE When Called From MEX Function
Has anyone ever seen significant performance reduction on x = A \ b when |A| is created in a |mexFunction| using |mxCre...
9 years ago | 0 answers | 0
0
answersInstalling/creating path for Matlab reservoir simulation toolbox
I am one of the authors of MRST (the MATLAB Reservoir Simulation Toolbox). I suppose the word "toolbox" is somewhat misleadin...
12 years ago | 1
| accepted
Importing data at a regular interval for analysis
I'm adding another answer based on your comment to my previous answer. I wanted to simply add another comment, but I need code ...
13 years ago | 0
Is dynamic interpolation of input of function for 'quad' integration possible?
All of MATLAB's quadrature methods require an integrand that can be evaluated at vector inputs and return an equally sized vecto...
13 years ago | 0
Importing data at a regular interval for analysis
What are you actually trying to accomplish? Is it to solve a sequence of systems of three (highly) non-linear equations defined...
13 years ago | 0
| accepted
ode15s
If you're going to solve a PDE by the method of lines (i.e., converting it into a system of ODEs), then you will need to provide...
13 years ago | 0
How to Select one element from each row of a matrix A based on a column matrix B.
So, if I understand correctly, your vector |B| contains column indices (i.e., numbers between |1| and |size(A,2)| inclusive) suc...
13 years ago | 3
| accepted
how i discretize linear differential equations(2 or 3 order)
I think your question is poorly posed. Do you call the ODE solver using a syntax such as the following [t, y] = ode23(odef...
13 years ago | 0
| accepted
Expected file position after FSCANF conversion failure
In case anyone else encounters the issue, I asked this question to the MathWorks support team. MATLAB R2010a corrected a bug wh...
13 years ago | 0
| accepted
Doubt in Region_Growing
This is *very* hard to read. Please consider marking up (and indenting) your code more properly the next time. I suggest using t...
13 years ago | 0
| accepted
Fread problem...
You need to specify the |precision| of the data you output using |fwrite| is |double|. Otherwise, the subsequent |fread| operati...
13 years ago | 0
Double to cell conversion difficulties
There is a slight misunderstanding in the way you use |datenum|. Specifically, |datenum(temp(:,1),'dd/mm/yy')| returns a |double...
13 years ago | 1
Question
Expected file position after FSCANF conversion failure
Suppose the file |data.txt| contains the lines --VarX 0.0 0.0 1.5 10.3 Is there an expected output of the following s...
13 years ago | 1 answer | 1
1
answerhow to initialize an M×N array whose size is unknown in for-loop
As your data is all numeric, you *can* do something akin to the following x = []; y = []; for i = 1:150, % ... like...
13 years ago | 0
Question
MEX-equivalent of INPUTNAME
All, Is there a way, within a |mexFunction|, of retrieving the actual *name* of (the caller's) argument passed as one of the ...
13 years ago | 2 answers | 0
2
answersQuestion
Automated way of creating PCODE for distribution purposes while retaining original function documentation
All, I'm in a position where I would like to distribute a number of functions (i.e., M files) as P-code to a third party. Sp...
13 years ago | 1 answer | 2
1
answerQuestion about assigning prhs to an int * in a mex file.
The |mxGetPr()| function always returns a pointer to |double|. Pointers to |double| are distinct from pointers to |int| and the...
14 years ago | 2