Isktaine
Univ of Bath
Followers: 0 Following: 0
Mathematician in disguise as a Mechanical Engineer who dabbles in programming and enjoys daily battles with MATLAB. Studying for a PhD. Self confessed queen of the nerds.
Statistics
RANK
6,455
of 295,569
REPUTATION
7
CONTRIBUTIONS
6 Questions
5 Answers
ANSWER ACCEPTANCE
16.67%
VOTES RECEIVED
2
RANK
of 20,247
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
Multiple anonymous functions combined
Hi, I am trying ultimately to be able to define a new anonymous function from two previously defined functions, and pass this...
11 years ago | 2 answers | 1
2
answersQuestion
Slowing of program when adding legend.
Hi, I'm plotting 4 functions in one graph and then adding a legend. For some reason adding the legend is really slowing the ...
12 years ago | 1 answer | 0
1
answerQuestion
Subplot without stretching images?
Hi, I have three figures and want to combine them in a long rectangular image so they can be viewed side by side. I've used s...
12 years ago | 1 answer | 0
1
answerQuestion
Using structures instead of vectors?
Hi, I'm using ode45 and passing the solutions into another function. Currently I am using the notation [x,A]=ode45('ode...
12 years ago | 1 answer | 0
1
answerDifferences between script and function file
A script file will run one line after another, and all the information is available to your workspace in MATLAB. For example if ...
12 years ago | 0
Question
Infinite loop in a interpl?
Hi, While solving an ode with ode45 I use a spline like this: X_0 = interp1(r(:,1),r(:,2),x,'spline'); However somet...
12 years ago | 0 answers | 0
0
answershow to turn decimal numbers to integers
Assuming your results are stored in A then: fix(A) see http://www.mathworks.co.uk/help/techdoc/ref/fix.html
12 years ago | 0
How do I solve a system of equations?
You need to have a function which the ode solvers can act on. [t,y] = ode45('YourODEFunction', [0 50], [a(0) b(0) c(0) d(0)...
12 years ago | 0
| accepted
replacing NaN with it previous element
Save this function then use it on K: function K = RemoveNaNs(K) [rows,cols]=size(K); %Works out how many rows and co...
12 years ago | 1
Plot several series in the same chart
You can still plot them on the same graph, you just need to make your x vector smaller. For example %Plot your first 100 p...
12 years ago | 0
Question
Dimension mismatch in defining a function for use in ode45
Hi, I'm solving a system of ODEs with ode45. I would like to have extra (non integrated) parameters out of the function as in...
12 years ago | 1 answer | 0