Community Profile

photo

Mohammad Adeeb


Last seen: 4 months ago Active since 2018

Statistics

  • Thankful Level 2

View badges

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

answer

Question


mobile robot follow path problem
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

answers

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

6 months ago | 0 answers | 0

0

answers

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

6 months ago | 0 answers | 0

0

answers

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

6 months ago | 1 answer | 0

1

answer

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

answers

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

7 months ago | 1 answer | 0

1

answer

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

7 months ago | 1 answer | 0

1

answer

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

7 months ago | 0 answers | 0

0

answers

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

7 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 1 answer | 0

1

answer

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

answers

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

answers

Question


Mat lab and Simulink
I have 9.3 simulink file ... how can i open it at matlab2015

2 years ago | 0 answers | 0

0

answers

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

answers

Question


can i solve this type of equation on mat lab
∂2T /∂x2 +∂2T ∂y2 =0 <</matlabcentral/answers/uploaded_files/134700/Capture.PNG>> ...

3 years ago | 0 answers | 0

0

answers

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

answers

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

answer

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

answers

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

1

answer

Question


how can i solve this proplem? its keep saying not enough input argument when i put the plot option
close all; clear all; %#ok<CLSCR> clc; syms t y(t); m=input('specify the power value'); u=(t.*sin(3.*t)).^m; ...

3 years ago | 1 answer | 0

1

answer