Matlab ODE Problem (paritcle trajectory)

Click For Summary
SUMMARY

The discussion centers on solving a particle trajectory problem using MATLAB's ODE (Ordinary Differential Equation) functionality. The user, intrepid44, initially seeks guidance on the correct approach to model motion before confirming their solution. The final function provided is f = @(t,z) [z(2);-1.962*z(1)-2.943], which effectively represents the motion of the particle.

PREREQUISITES
  • Understanding of MATLAB syntax and functions
  • Familiarity with Ordinary Differential Equations (ODE)
  • Basic knowledge of particle motion and dynamics
  • Experience with function handles in MATLAB
NEXT STEPS
  • Learn how to implement MATLAB's ODE solvers, such as ode45
  • Explore MATLAB's function handle capabilities for dynamic modeling
  • Study the principles of numerical methods for solving ODEs
  • Investigate advanced topics in particle dynamics and motion equations
USEFUL FOR

Students, researchers, and engineers working with MATLAB who are interested in modeling physical systems and solving differential equations related to particle motion.

intrepid44
Messages
3
Reaction score
0
Hi, I currently have this problem to solve, and I'm quite stuck. I would much appreciate it if anyone could point me in the direction on how to solve it.

m1.png


This is my go at it, although currently I don't have access to MATLAB until tomorrow as the university library has now closed.

m2.png


Is this the correct way to get the motion? If I then turn it into a function?

Many thanks.

Regards,
intrepid44
 
Physics news on Phys.org
The last bit should be: >> f = @(t,z) [z(2);-1.962*z(1)-2.943];
 
Got it sorted, never mind.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K