Community Profile

photo

I G


21 total contributions since 2018

I G's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


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...

2 Monate ago | 1 answer | 0

1

answer

Question


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...

4 Monate ago | 1 answer | 0

1

answer

Question


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...

6 Monate ago | 1 answer | 0

1

answer

Question


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:...

6 Monate ago | 2 answers | 0

2

answers

Question


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...

6 Monate ago | 1 answer | 0

1

answer

Question


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...

6 Monate ago | 1 answer | 0

1

answer

Question


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...

9 Monate ago | 1 answer | 0

1

answer

Question


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. ...

10 Monate ago | 1 answer | 0

1

answer

Question


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...

10 Monate ago | 0 answers | 0

0

answers

Question


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 ...

11 Monate ago | 0 answers | 0

0

answers

Question


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 ...

11 Monate ago | 1 answer | 0

1

answer

Question


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 ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


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,...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


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...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


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 ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


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...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


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:...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


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...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


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...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


Troubles with ode45 solving two ODEs?
I am solving two the first order ODEs: $$p_0 p_0'=-\dfrac{32 \beta}{R^4}$$ $$(p_0p_1)'=-\dfrac{2-\sigma_v}{\sigma_v}\dfrac...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


What do to with ode45 symfun error?
I am using code from adress <http://matlab.cheme.cmu.edu/2011/09/08/plane-poiseuille-flow-bvp-solve-by-shooting-method//> b...

etwa ein Jahr ago | 1 answer | 0

1

answer