Community Profile

photo

Dereje


Last seen: etwa 4 Jahre vor Aktiv seit 2017

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Parameter calculation by using loops in ODE45
For any initial values(Ofcourse with limits) I used it either excutes on the 4th iteration or it would be beyond the MAX iterati...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to convert 3D line plot into 3D surf plot.
I need help on how to plot the following 3D line plot(plot3) in to a surf plot. zspan = linspace(0,400); v0mat = [1 0.01 1]; ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot 3D plotting
I need help on how to plot the following 2D plot in to a 3D plot. zspan=[0,400]; v0mat = [1 0.01 1]; zsol = {}; v1sol = {...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I get an asymptotic solution for 2nd order differential equation.
For the 2nd order differenttiaal equation: where and are constants. How can I get an asymptotic solution, where for z=0...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Sensitivity analysis of an ODE
Hi, I have been asked to do the sensitivity analysis of an ode Model. The idea is new to me and I need some help to give me so...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to stop ode45 when value reach certain value other-than zero
I need to stop the ode when y(2) is 0.2 and here is the function I used for the solver but It doesn't work. Any thing wrong with...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Extra parameter/alpha in ODE45
I am not able to find out why the extra parameter/alpha is not converging to the exact solution. My code seems ok. I need your h...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Extra parameter using iterative method in ODE45
I am not able to find out why the extra parameter/alpha is not converging to the exact solution. It just takes the first value i...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Unknown parameters in ode
I am trying to solve an ode with an unknown parameter. I am not sure If I am doing it in the right way. 'Not enough input argu...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


ode45 for the shooting method.
I want to predict a constant for the target height for the given ode problem. The target height is highly dependent on the con...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


prediction of alpha given maximum height.
The code which I posted below calculates the maximum height.This height depends on the entrainmnet constant(alpha) which I used ...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Scatter plot: X and Y must be vectors of the same length
I want to plot the maximum height of an array. I am getting an error : X and Y must be vectors of the same length. Thanks for t...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I use scatter plot
How do I use scatter plot: To get the value of zsol for each case v2sol is 0.4(For example) in the following code. Thanks for t...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to get a connection between alpha and z.
By using ODE 45 I have results for the three unknowns. My question is to get a closer, there should be some value of the const...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to plot point-wise figures from existing one.
According to the attached figure w is zero for specific z. Need help how to plot only the value of z for each case (when w beco...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Gauss-Seidal solver for 1D heat equation
I tried using Gauss-Seidal solver by computing A and the right hand side. But still got an error:) asking for help. x_mi...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


1-D Heat equation
I have no idea what went wrong. Two days since looking for the errors, please help if close all x_min= 0; x_max = 1; N =...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


1D Poisson Solver Warning: Matrix is singular to working precision
I can't not see any problem with the matrix but can't fix the problem. % x_min = 0; % min(doma...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Assembling Jacobian Iterative method when the source term is not a matrix
I want to compute the approximations Ti for i=1,..n by solving the linear system AT=b, A is sparse matrix and b=(f(x1); f...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


I can not find the error in this Gauss Seidal equation.
% function x1 = GaussSeidal(a,b,x0,tol) N=100000; k=1; x=x0; while(k<N) n = length(b); for j = 1 : n x...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am getting Vectors must be the same length error when I tried to plot. I have attached the full Matlab-files.
zspan=[0,400]; w0=0.1; b=1; gmark=1; y0=[b*b*w0; b*b*w0*w0; b*b*w0*gmark];% Initial values options=odeset('RelTol',1e-6,'...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve a second degree derivative with another variable
(M)'' + N*M= 0; Is it possible to solve the above equation if N is not a constant ?

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to plot for a different initial values at same time
I need help how to plot for a different initial values of v0 at same time. if zspan=[0,400]; v0=[1;0.01;0.12;]; %...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


DECIMAL To Binary Representation
Need help for a code that changes numbers into binary normal representation and storage in a single precision. Not MATLAB built-...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Need help to stop the ode when v(2) is zero using ode events. I have tried in so many ways but couldn't get result.
%% Data for desnity with respect to depth z = [2 3 5 7 10 15 20 25 30 40 50 60 70 80 90 100 125 150 160 175 200 225 25...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
how do I pre-allocate the program. It highlights it in red and I am not able to do that. Thanks for helping.
@Guillame there is an error(Matrix mis-match) on sol(i) = t; @Greg I don't understand your point.

mehr als 6 Jahre vor | 0

Frage


how do I pre-allocate the program. It highlights it in red and I am not able to do that. Thanks for helping.
for i=1:numel(rho)-1 rho0=17.1; zspan = [z(i) z(i+1)]; NS =(rho(i+1)-rho(i))/(z(i+1)-z(i)); [t,v] = ode45(@(t,...

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


I am having trouble multiplying my main ode function with an external function NS which is supposed to be multiplied on the RHS. Thanks for the great help.
tspan = [0 20]; y0 = [0 0.01]; [z,y] = ode45(@odefcn, tspan, y0); plot(z,y(:,1),'-o',z,y(:,2),'-.') function d...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am getting an error 'Dimensions of matrices being concatenated are not consistent' I have attached the m-files. Thank you for your help:)
I have attached my m-files. Thank you for your help:)

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort