Solving coupled equations in Matlab
    18 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Pavan Kumar
 il 29 Gen 2015
  
    
    
    
    
    Commentato: Walter Roberson
      
      
 il 16 Ott 2021
            Hii Friend,
I have set of coupled differential equations which i need to solve and plot using matlab.
I am confused on how to proceed.Do suggest me on how to proceed with it.
The final out needed is a plot of abs(B(1)) Versus delk versus Z as shown in the pic.
0 Commenti
Risposta accettata
  Star Strider
      
      
 il 29 Gen 2015
        First, follow the documentation and write your ODE function, then use the appropriate ODE solver (try ode45 first) to integrate it. If you have problems, describe them, completely copying and pasting any error messages that occur, and attach your script and your ODE function files. We will do our best to help you get your code running if you need our help.
16 Commenti
  Star Strider
      
      
 il 9 Feb 2015
				No worries!
Thank you for following up.
I was curious as to how you incorporated the vector into your ODE function, as much to satisfy my curiosity as to help anyone else who searches for your Question with the same problem.
  Muhammad Muti ur rehman
 il 4 Ago 2021
				Hi strider I am usig bvp4c to solve coupled or non linear equation like velocity concentration temperature.. When i have to plot on velocity profile. I use the command plot (x1, y1(2, :)) for concentration 4 and temperature 6. If i have another linear equation like density of motile microorganism what number i should put.. To get the desired graph??
Più risposte (1)
  Taimur Zaman
 il 5 Ott 2018
        
      Modificato: Walter Roberson
      
      
 il 6 Ott 2021
  
      
      1 Commento
  Walter Roberson
      
      
 il 16 Ott 2021
				Vedere anche
Categorie
				Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!