Community Profile

# esat gulhan

##### Last seen: Today
39 2019 年以降の合計貢献数

#### esat gulhan's バッジ

Extract data from plot
Maybe like this clc;clear; x=[1 2 3 4 5]; %x data y =[2 4 6 8 10];%y data yy=6.5 % y value you intend to reach xx = interp1...

2日 前 | 0

| 採用済み

How do I use quiver with an implicit differential equation?
Maybe like this syms S C c t y [T, Y] =meshgrid(-10:0.5:10,-10:0.5:10); S= ((2.*Y-T)./(2.*T-Y)) dT = ones(size(S)); %equat...

4日 前 | 0

direction field and solution curve for differential equation.
Did you copy to code in a new blank script. It is not an extension of a code it is a new indepentend code. It must work. Impossı...

4日 前 | 0

direction field and solution curve for differential equation.
Maybe like this if it works please accept the answer clc; clear; syms y(t) c sol = diff(y, t) == -t*y^3 %your equation con...

5日 前 | 0

Fitting a nonlinear curve to a small dataset
x=[2.5 3.0 4.0 5.0 6.0 7.0]; y=[-14.741408 -14.765364 -15.854609 -16.058246 -16.103032 -16.595257]; s=pchip(x,y) %you can us...

5日 前 | 1

How can i simplify my equation
Is ther anyway to simplify equation uo=-C/r , i want to explain uo with r not x and y syms u uo ur v Q C x y r u=C*y/(x^2+y^...

7日 前 | 1 件の回答 | 0

### 1

How can i solve P(x,y) with 2 equations of diff
Hi guys, . My problem is to find P(x,y), how can i find P(x,y) with this equations. I can accept with analtical as well as nume...

8日 前 | 1 件の回答 | 0

### 1

How to find P(x,y) with diff
I am trying to solve this diff equation u=a*x+b v=-a*y+c*x p=1 -dP/dy=(u*dv/dx+v*dv/dy)*p -dP/dx=(u*du/dx+v*du/dy)*p I wan...

11日 前 | 0 件の回答 | 0

### 0

How to solve stream function
I am trying to get stream function which expressed as s(x,y) ds/dy=u=0.5+1.2.*x; ds/dx=v=-2-1.2*y; clc,clear; syms s(x,y) x ...

13日 前 | 1 件の回答 | 0

### 1

I can not plot values
When i try to plot results, plot is blank. I want to plot this a line. syms Frx B m V1 V2 P1g P2g Frz alfa1 alfa2 A1 V M Degr...

13日 前 | 1 件の回答 | 0

### 1

How to add slicer to the plot with time steps
Hi I want to control my graph with time steps. I wish , if i chage slider, my 2D graph changes with time. Time step is 0 to 20 ...

23日 前 | 0 件の回答 | 0

### 0

Ignoring a set of values
Try this close all clear all syms t b r; %Profit equation P = (200+b*t)*(0.65-0.01*r*t+0.00004*t^2)-0.45*t; %Best time to ...

25日 前 | 0

| 採用済み

Generating a function using an array
Hi can you try this clear all;clc; x=[ 0 0.3142 0.6283 0.9425 1.2566 1.5708 1.8850 2.1991 2.5133 2.8274 3.141 3....

25日 前 | 0

Generating a function using an array
maybe like this. if you send data it can be easier to choose the way of function. I used sin data and choose pchip. x=[ 0 0.3...

25日 前 | 0

Why while end error does not work in my code??
clear clc L=0.02;H=40;dx=0.01;dy=dx;dt=15 nx=uint32(L/dx+1);ny=uint32(H/dy+1);rx=dt/dx^2;ry=dt/dy^2; k=28;alfa=12.5*10^-6;g=5...

25日 前 | 1 件の回答 | 0

### 1

Find optimum value to fit with the answer
Can it be like this, if you want to find value if final>100 clc;clear; syms x y t k f m x=10; y=20; k=x+y; f=20; m=10; f...

26日 前 | 0

| 採用済み

How to stop my iteration Tn(j,i)=Tn+1(j,i)
clear clc dx=0.5 nx=uint32(5/dx+1) ny=uint32(5/dx+1) [X Y]=meshgrid(linspace(0,5,nx),linspace(0,5,ny)) Tint=0 T=Tint*ones(...

27日 前 | 1 件の回答 | 0

### 1

How to show results of for end values as a vector.
Is there any way to represent results of for end as a vector. for example for h0=0:1:2 h=h0*2 end results ans h = ...

28日 前 | 1 件の回答 | 0

### 1

How to calculate area between curve and horizontal line?
Did you see my second answer. I think it helps. If you add pause to the code it will seem like an animation. clc;clear; x = ...

29日 前 | 0

How to calculate area between curve and horizontal line?
clc;clear; x = [ 0 1 2 3 4 5 6 7 8 9 10 11 12]; y = [0 -0.5 -0.8 -0.8 -1 -1.1 -1.2 -1.2 -1.4 -1.2 -1.1 -1 0]; h0= -0.5; %the ...

30日 前 | 2

| 採用済み

How to calculate area between curve and horizontal line?
x = [ 0 1 2 3 4 5 6 7 8 9 10 11 12] y = -[0 -0.5 -0.8 -0.8 -1 -1.1 -1.2 -1.2 -1.4 -1.2 -1.1 -1 0] Int=pchip(x,y) plot(x,ppval...

How to find my ode45 equation in specific h
syms D g H Do tspan = [0 120]; mgiren=0 Do=3; D=2/10; h0=h; g=9.81; y0 = 2; ySol= ode45(@(t,h)(mgiren-(pi()*D^2/4*(2*g*...

### 1

empty sym error, how to solve
syms P1 P2 V1 V2 z1 z2 g p debi Wpump Wturb Eloss Wpumpshaft npump nturb alfa1 alfa2 g=9.807 p=1000 V1=0 z1=0 alfa1=1...

### 1

How can i solve and plot this problem
syms D Do g H(t) t Do=10 D=0.1 g=9.81; eq=diff(H,t)==pi()*D^2/4*(2*g*H)^0.5/(pi()*Do^2/4); cond=H(0)==2; h(t)=dsolve(eq...

### 1

How to solve Leibnitz equation
Smart way, thanks

How to solve Leibnitz equation
This equation is one dimensionel leibnitz equation. How can i solve this problem. I tried int(exp(-x^2),x) but it is wrong way...

### 2

How can i find the dy/dx of the differantial equation
My differantial equation is 1/x*d/dx(x*dy/dx)=10. And my code is below. I can solve x, y but i can not solve dy/dx, how to fi...

### 2

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Failure at t=0.000000e+00. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (7.905050e-323) at time t.
I think the main problem is the value of L. Inf is not a good way to solve this problem. You should write largest positive float...

| 採用済み

Runge-Kutta method
%RUNGE KUTTA METHOD OF ORDER FOUR clc;clear; % Clears the screen h=0.025; ...