photo

I G


Last seen: fast 2 Jahre vor Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Difference between numerical and analytical solution of ode?
I am solving two differential equations numericaly and analyticaly. But when I compare results, they are not the same, I cannot ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matlab does not plot data which are mirrored data
I have variable r with dimension [1x2002] and values r = [1 0.9 0.8 0.7 . . . 0.7 0.8 0.9 1] and variable u0 with dim...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


bvp4c: Too many input arguments error
I need to solve two differential equations of the first order, with one unknown parameter in each equation, and I have four boun...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve first order ode with two boudary conditions?
I need to solve numericaly differential equation of the first order, where I have given values at the beginng and at the end of ...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Solve system of two differential equations with bpv4c
I need to solve system of two equations with bvp4c method, where p is the pressure and it is only function of longitudinal coord...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve first order differential condition with two initial conditions?
I had system of equations defined in m file fun_zap_ri.m: function [f, R] = fun_zap_ri(z, p, beta, ri) R = ri - z .* (ri - 1);...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Plot legend - cyrilic?
I need to make cyrilic legend in Matlab plot. I am doing it with: legend({'прва.'}, 'Fontname','Times new roman', 'FontSize', ...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to show first value on axis cuted with xlim?
I am using xlim to make my axis shorter, but on that way Matlab does not show me first value on shorter axis. More detailed: I...

fast 5 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Plot and zoom in - axis labels doesnt work?
I am using nxt code to make my plot: figure; set(0,'defaulttextinterpreter','latex'); set(0, 'defaultAxesTickLabelInterpreter...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to load data from Simulnik Thermal House example?
I am trying to make Simulink example Thermal house (https://www.mathworks.com/help/simulink/slref/thermal-model-of-a-house.html)...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Function call in ode45 does not work?
I have function: function [f,R]=fun_zap_ri_07(z,p) beta=1; ri=0.7; R=ri-z.*(ri-1); f=zeros(4,size(p,2)); f(1,:)=-3...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to get nearest values in matrix and save indexes of these values?
I have values saved as pi=[5 10 15]. And I have another values saved in puk, which is 401x1 double. I need to find values in...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Change dashed line spacing on plot
I need to plot 6 different black lines on plot, and all of them need to be lines (without markers). The problem is there are onl...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to extract value from cell, then from matrix?
I have data stored in p, as 1x41 cell. For me it is necessary to extract every value in cell, every 101x4 double as matrix and t...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to fill matrix in for loop?
I need to fill matrix r, where r=r(z), and ri is constant. But with this code I onlu get the first row where r=-0.7:0.7. z=-1:...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to construct matrix for variable radius?
I have divergent geometry, where my longitudinal coordinate is: z=1:-0.001:0; Wall of the pipe is defined with this law: ri=0...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to change ode45 from solution for range of values, to solution just for one value?
I have next function file: function [f,R]=fun_z3(z,p) beta=1; ri=0.7; R=ri-z*(ri-1); f=zeros(4,size(p,2)); f(1,:)=-32.*bet...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


ode45 and sol structure - different results
I am using ode45 function to get solution of system of equation with this line of code [zv, pv] = ode45(@fun2, [1 0], [1; 0...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to extract variable from function file, and how to check is that result real?
I am using matlab function file to solve system of differential equations, and I have variable R in my function file. ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


ode 45 - different results with different coordinate set
I am solving system of next equations: function f=fun(z,p) R=1; sig=1; beta=1; f=zeros(4,1); f(1)=-32*1*be...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Increase precision of vpasolve method?
I am using vpasolve method to find solution of equation. It is necessary to compare solution with vpasolve for y with numerical ...

etwa 6 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


How to find second derivative as output of ode45?
I am using ode45 function to find numerical solution for my system of equations, where I have 4 equations and 4 variables, with ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is it possible to solve this equation symbolicaly with Mupad?
I am trying to solve equation symoblicaly with Mupad, where on the left side I have differential of p3, and on the right side I ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


vpasolve and for loop
I am trying to solve numerically symbolic equation. But one variable in my equation is series of values zv=1:-0.1:0 So,...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Solve equation numerically Matlab-Mupad
I am using Matlab, and I am considering to use Mupad to solve next differential equation: x^2+16*Kn_e*x-1-16*Kn_e-16*Kn...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Accuracy of the first derivative with ode45
I am using ode45 to get solution of system with 4 differential equation of the first order. ode45 gives me result as value, but ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


second order ode45-where to put boundary and initial condition?
I am solving this equation with ode45 method, p0 is already known: 4B*d^2u/dr^2+(4B/r)*du/dr=dp0/dz and I have two conditi...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to add variable to ode45 method?
I am solving system of two ODEs with ode45 method, and code is working for constant cross section, that means constant radius R:...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use numerical solution in differential equation?
I have numerical solution for variable p, which I got through ode45 method. I need to calculate u, where u=((r^2-1)/16)*dp/d...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


bvp4c or ode45?
I am solving two the first order ODEs ('=d/dz, all other variables are known constants): p0 p0'=-32 beta/R^4 p0p1'=-((2-si...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden