Community Profile

Last seen: 4 months ago Active since 2018

#### Content Feed

View by

Question

how can i solve second order ODE with RK-4 without using a built in function in matlab?
this is the equation : (d^2 y)/(dt^2 ) + 3 (dy)/dt - 30t - 10 = 0 this is my code : h=0.01; %step size (changable...

4 months ago | 1 answer | 0

### 1

Question

hey all; im trying to make a mobile robot follow a circular path and i did the follwoing : clc; close all; clear all; clc; ...

5 months ago | 0 answers | 0

### 0

Question

How can i perform an ADI method on 2d heat equation
im trying to slve this equation : 𝜕𝑇 𝜕𝑡 = 𝜕 2𝑇 𝜕𝑥 2 + 𝜕 2𝑇 𝜕𝑦 2 𝑇(𝑥, 𝑦, 0) = 0 𝑇(0, 𝑦,𝑡) = 0 𝑇(1, 𝑦,𝑡) = 0 𝑇(𝑥, 0,𝑡) = 0...

5 months ago | 0 answers | 0

### 0

Question

How can i perform an ADI method on 2d heat equation
im trying to slve this equation : 𝜕𝑇 𝜕𝑡 = 𝜕 2𝑇 𝜕𝑥 2 + 𝜕 2𝑇 𝜕𝑦 2 𝑇(𝑥, 𝑦, 0) = 0 𝑇(0, 𝑦,𝑡) = 0 𝑇(1, 𝑦,𝑡) = 0 𝑇(𝑥, 0,𝑡) = 0...

5 months ago | 0 answers | 0

### 0

Question

How do I can build a MATLAB code to fit the following equation using least square sense ?
here is my equation : y=a+bx; x=[1 2 3 4 5 6]; y=[3.5 0.5 -1.5 -3 -4.5 -7 ]; I've try this code clc; clear all; clo...

5 months ago | 1 answer | 0

### 1

Question

Why do I keep getting this error message?
dt = 0.001; %time step dx = 0.1; %step in x direction % both value should satisfy the equation alpha*dt/(dx)^2<=0.5 lamda = d...

6 months ago | 2 answers | 0

### 2

Question

how to solve PDE with derivative boundary conditions ?
hey all im trying to solve PDE with derivative boundary condition , so i tend to use the imaginary node method , could i have a...

6 months ago | 1 answer | 0

### 1

Question

how can i solve this error , predictor corrector method
hey all im trying to solve 2nd ode with RK4 and predictor corrector method , and i;m still receving this error ,what should i ...

6 months ago | 1 answer | 0

### 1

Question

predictor corrector method error, what should i do?
hey all; im trying to solve second order ODE using RK4 and predictor-correctoe method without using any built in mtlab function...

6 months ago | 0 answers | 0

### 0

Question

why do i receive this error
x=0.1; x= 0:0.1:1; yic =[1 -2] ' ; for i=1:(length(x)-1) K11 = fn (x, yic); K21 = fn (x , yic); K12 = fn ((x ...

6 months ago | 1 answer | 0

### 1

Question

1st order The ODE
Is there any tutorial to solve 1st order ode using rung kutta 4th order method without using ode45

6 months ago | 1 answer | 0

### 1

Question

controlling speed of EV3 controller
hello all , im trying to control my ev3 motor speed , but when i apply this code noting happen whta should i do? thanks ...

1 year ago | 0 answers | 0

### 0

Question

Error while using webots matlab controller
hello! im trying to conduct a robot controlller using webots simulater , but i get this error while using matlab what should ...

1 year ago | 0 answers | 1

### 0

Question

I have 9.3 simulink file ... how can i open it at matlab2015

2 years ago | 0 answers | 0

### 0

Question

how can i solve this proplem by rung-kutta method ?
this is my sol form x = linspace(0,1,20); t = linspace(0,2,5); function [c,f,s] = pdex1pde(x,t,T,DuDx); c = 1; f...

3 years ago | 0 answers | 0

### 0

Question

can i solve this type of equation on mat lab

3 years ago | 0 answers | 0

### 0

Question

how can i perform a Fourier series on this function?
clear all; close all; clc; syms n t1 t2 T f0 t;%t2=T; func=(f0/t2-t1)*(t-t1); n=1:10; syms t t1 T;%T=t2; ...

3 years ago | 3 answers | 0

### 3

Question

how can i solve part 2 ... should i convert the statespace to tf?
close all; clear all; clc; m1=1; m2=3; k1=10; k2=2; b=0.5; A=[0 1 0 0;-(k1+k2)/m1 -b/m1 k2/m1 b/m1;0 0...

3 years ago | 1 answer | 0

### 1

Question

is my solution wrong?
close all; clear all; %#ok<*CLSCR> clc; syms r z; p1=input('specify the pol cofficent'); s=input('speci...

3 years ago | 0 answers | 0

### 0

Question

how can i make the program to chose a random value of (w) ,, if (m) is matrix input
u=(t.*sin(3.*t)).^m; w=diff(u,t,2); dy1=diff(y,t,1); dy2=diff(y,t,2); y(t)=dsolve(dy2-(5*dy1)+(4*y)==randi(w),dy2(0)...

3 years ago | 1 answer | 0