photo

Martin


Imperial College London

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Answered
what does the four vector mean in matlab legend 'Position'?
Thanks for all the information on this guys. I think what I have is the dimensions given in 'normal' units. Basically I have to ...

11 years ago | 0

Question


what does the four vector mean in matlab legend 'Position'?
I use the line: leg = legend('Ionisation','Recombination'); pos = get(leg,'Position') But get returned the ...

11 years ago | 4 answers | 0

4

answers

Question


can you iterate a change in odefun for ode45?
Hi, so I am wanting to plot how a solution to a set of coupled odes change as the function changes by some iterated amount. I ha...

11 years ago | 0 answers | 0

0

answers

Question


Can ODE45 solve this equation?
hi, so I have an ODE that I am solving with ODE45. It basically solves: d2x/dt2 = exp(-t/tp)cos(t); where tp is a constant....

11 years ago | 1 answer | 0

1

answer

Answered
How to prevent Matlab to round off numbers?
I'm not entirely sure how many digits it works for but putting the line: "format long g" at the start of your script might h...

11 years ago | 0

Question


Can you use ODE45 in a for loop?
Hi there, I am having to solve a pair of coupled 1st ODEs. I also need to change the integration time like this: ti = 0 ...

12 years ago | 1 answer | 1

1

answer

Question


Using sign(x) with -0.00?
Hi, I need to go through a vector and check the sign of an oscillatory function but I have a lot of -0.0000's at the start which...

12 years ago | 2 answers | 0

2

answers

Question


How do you deal with very large and very small numbers for ode45?
Hi there, I am using the ODE45 function in matlab and am having to do some calculations where the time scale is on the order ...

12 years ago | 1 answer | 0

1

answer

Answered
How can I convert an array to a matrix?
As Jose mentioned the reshape function is a really good one. The help file on that one is really useful for explaining how it ...

12 years ago | 0

Question


Solving coupled 1st ODEs with ODE45 or Runge-Kutta?
Hi there, I am having to solve a simple problem where I am equating Newtons's Second Law to the Lorenz Force on a particle: F =...

12 years ago | 0 answers | 0

0

answers

Answered
How do I make a desktop launcher for MATLAB in Linux?
I am trying to do the same, basically going in to the terminal each time is very inconvenient. Is there a way I can make a butto...

12 years ago | 0