# haohaoxuexi1

Last seen: 4 months ago Active since 2021

Followers: 0   Following: 0

#### Feeds

View by

Question

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

1 year ago | 2 answers | 0

### 2

Question

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 year ago | 2 answers | 0

### 2

Question

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

2 years ago | 2 answers | 0

### 2

Question

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

2 years ago | 2 answers | 0

### 2

Question

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

2 years ago | 0 answers | 0

### 0

Question

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

2 years ago | 0 answers | 0

### 0

Question

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 years ago | 2 answers | 0

### 2

Question

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 years ago | 1 answer | 0