Community Profile

haohaoxuexi1

Last seen: 約1ヶ月 前 2021 年からアクティブ

バッジを表示

Content Feed

How to remove empty space after legend?
Can anyone please give me some advice on how to remove the area below the legend. The code is below, thanks. C_Span = [4 8...

2

cumsum function question for integration
The code is below. close all; clear all; clc; format long; syms t; inter_val = 0.0001; tn=0:inter_val:20; t=tn; y_c...

1年以上 前 | 2 件の回答 | 0

2

How to change the font size of xtick and ytick with scientific notation on the side?
xticklabel_fs = get(gca,'XTickLabel'); set(gca, 'XTickLabel', xticklabel_fs, 'FontName', 'Times New Roman', 'fontsize', 12); y...

1年以上 前 | 2 件の回答 | 0

2

ode45 and rungekutta yield different result
I am using ode45 and rungekutta script to solve some piecewise differential equations. But the result is a bit different. Can a...

1年以上 前 | 2 件の回答 | 0

2

Can anyone help to see what is wrong with this function to solve a DAE problem
dx(1)=x(2); dx(2)=k1*(x(3)-x(1))-(knl_1*x(1)+knl_3*x(1)^3); dx(3)=x(4); dx(4)=(-c*x(4)-k1*(x(3)-x(1))+kAmp*cos(w*t)+theta_p*x...

0

Frequency sweep for DAE question
%% close all; clear all; clc; format long; k1=25000; knl_1=300; knl_3=2000000; m=0.1; c=1; w0=20; kAmp = 0.5; ...

0

Is there anyone can help me on how to get an ODE45/ODE15 program to solve the above equation? I want to get the value of y1 and...

2年以上 前 | 2 件の回答 | 0

2

How to input a "sym" type equation into ODE45 to solve first order differential equation?
% Sample close all; clear all; clc; syms t tt; a=1; b=2; c=3; fs_d=50*t^2+60*t^4+70*t^9; fd_d=diff(fs_d,t); dT...

2年以上 前 | 1 件の回答 | 0

1

How to check the symbolic engine of matlab2018?
I have intalled maple (maple toolbox as well) in my computer. And I am trying to switch the engine between in order to get bette...

2年以上 前 | 1 件の回答 | 0