calculate differential equation in MATLAB

Hi, I want to calculate this differential equation. please help me.

3 Comments

Could you please show your attempts and then let the community know your specific questions in solving this exercise?
De facto, you can start working with MATLAB's built in symbolic ODE solver, such as dsolve(). If you have ICs, other numerical solvers, such as ode23, ode45, ode15s, ode113, etc.
I started with this
z = float('double')
syms y(omega) y2(omega2) n(omega) n2(omega2);
ode1 = diff(y,z)-(i/n)*m*y == 0;
ode2 = diff(y,z)-(i/n2)*m^2 == 0;
Solv(x) = dsolve(ode1 , ode2)
but I dont know how to define beta and this code gives an error to me.

Sign in to comment.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 3 Sep 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!