照片

艾伦史蒂文斯


最后见到:今天
620. 自2020年以来的总捐款

艾伦史蒂文斯's Badges

  • Guiding Light
  • 6个月条纹
  • Knowledgeable Level 4
  • 第一个答案

查看详情...

贡献
View by

回答
Plot with 2 parameters
Do you mean something like this: theta = -90:90; ri = 0.5; ro = 1.5; x = [ri*cosd(theta) ro*cosd(-theta) 0]; y = [ri*sind(th...

12小时前|0.

回答
Please, how can I solve runKut4 in line 6?
尝试t = 0.0;tstop = 6.0;Y = [1.5 0];h = 0.1;[t,y] = ode45(@deqs,[0 tstop],y);绘图(t,y(:,1),'ko-')xlabel('time(s)')......

1天前|0.

|accepted

回答
ode45 function matrix dimensions problem
You need to loop through the Y_H values. See below global mu_H Ks X_BH teta Ss_in mu_Hmax=0.15; %days^-1 T=22.6; %centigrad...

1天前|0.

回答
I am getting this error "Assignment has more non-singleton rhs dimensions than non-singleton subscripts". Please help. Mw, Cw and Kw are 243X243 matrices.
It gets past your indicated Error line for me, but fails because you haven't defined Mw, Cw or Kw.

1天前|0.

回答
Error: Unable to perform assignment because the left and right sides have a different number of elements.
有很多缺少的指数和定义。在下文中,索引已修复;但是,您需要定义...

1天前|0.

回答
Grading system in excel sheet based on marks
你不应该有i = 1:1:n如果r(i)> = 80表.studentgrade {i} ='a';elsefif r(i)> = 70表.studentgrade {i} ='b ...

1天前|0.

回答
2D cylindrical boundriondition problem
It looks like vr = 0.8:hr:0.2; is the cause of the problem. This leads to vr being empty!

1天前|0.

回答
I am trying to modulate the carrier with Gaussian pulse using frequency modulation. I tried to write this code. Can any one help is it correct, if not please can you help me in this regard. Thanks
不要在点和^或dot和*之间放置空间。也使用图,不是数字。尝试f = 12e12;%carrie ...

2天前|0.

|accepted

回答
problem with Euler's explicit methode
因为L0 = 0的初始值为零; m0 = 0; z0 = 0; n0 = 0;他们将术语乘以你的右侧的条款......

5 days ago | 0

|accepted

回答
Matrix dimensions must agree.
这作品%n all alpha beta gamma min min m max d = [1 550 8.1000 0.00028 0 680 2 309 8.1000 0.00056 0 360 3 307 8.1000 0.00 ...

5 days ago | 0

|accepted

回答
当我尝试运行此代码时,它不会停止运行。当我暂停它时它只停止。会欣赏如何解决这个问题的帮助?
Your pressure goes negative just after a catalyst weight of 5 kg. Should it do this? Perhaps your equations should be double-c...

6 days ago | 0

回答
用多种条件写作和绘制函数
一种可能性:f = @(x)9/5 * x *(0 <= x&x <1/2)+ 9/5 *(1-x)*(1/2 <= x&x <= 1);例如F(0.1)ans = 0.1800 >> F(0.75)......

6 days ago | 0

|accepted

回答
Why is my plot figure blank?
您只计算B的单个值。据推测,x和y值应以某种方式与nu变化,但您没有指定如何!

7 days ago | 0

回答
design of journal bearing
这是L / D = 1/4的示例。请注意,因为S刻度是对数的,最好是以对数地插值:s ...

7 days ago | 0

回答
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. how do I solve the problem?
Replace x_d(i)=[2*sin(2*t(i));4*cos(3*t(i))]; by x_d(:,i)=[2*sin(2*t(i));4*cos(3*t(i))]; Similarly for the others.

7 days ago | 0

|accepted

回答
乘以向量导致未完成的答案
按元素部门使用A./b而不是a / b for元素。

8 days ago | 0

回答
Finding 0 in data for n X 2 array
这是一种方法:ix =(m(:,1)+ m(:,2))== 0;m(ix,:) = [];

8 days ago | 1

回答
solve multipe eq in a loop
您的等式在P中是线性的(p2到p9,即,由于P1恒定,因此恒定),因此以下是SOLV的简单方法......

9天前|0.

回答
Evaluating a 2nd order ODE using the Runge-Kutta method
更像这样的:a = 0;B = 1;%n =输入('输入间隔数:');n = 100;h =(b-a)/ n;Y = [2;-2];t = 0:h:...

10天前|0.

|accepted

回答
How to solve this equation with matlab
进入数据的奇怪方式!但是,找到摩擦系数的一种方法是一个简单的固定点迭代方法,例如e ...

11天前|0.

回答
请在这件事上给予我帮助
只需插入xvals = [0 7.2 7.2];Yvals = [0.36 0.36];绘图(xvals,yvals,' - ')后(虽然豌豆......

12days ago | 0

回答
3D运动方程与V,A,R
只要你更喜欢这一点,因为你被赋予了速度和加速的明确表达(但请注意轴......

13天前|0.

回答
Need Help Solving a system of 2nd and 1st Order ODEs
我认为你应该只传递5,而不是6,你的mysys函数的参数,这是最好的写作函数= mysys(...

13天前|2

|accepted

回答
HOW CAN I CORRECT THIS ?
It works for me exactly as you have written it, with no error messages!

18天前|0.

回答
Family of ODE with summation
Your System_ni function doesn't seem to have acces to your K_Br matrix. You need to pass it into System_ni or specify it within ...

18天前|0.

回答
利用欧拉的示意法解决问题
如果让dx / dt = vx,例如dy / dt = vy,则可以将加速器写为dvx / dt = -gamma / m * vx * sqrt(vx ^ 2 + vy ^ 2)和d。..

18天前|0.

回答
使用ODE45模拟免费跌落项目
更像这样,也许是:嗨= 40000;%初始高度开始= [hi 0];%[初始高度,初始速度] tspan = [0 100];......

18天前|0.

|accepted

回答
如何找到时间和部分衍生物?
你真的不需要Matlab的力量;小学微积分会做:

18天前|1

|accepted

装载更多