![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20180538_1627769632631.jpg)
haohaoxuexi1
Followers: 0 Following: 0
Feeds
提问
Using transformer neural network for classification task
numChannels = inputSize; maxPosition = 256; numHeads = 4; numKeyChannels = numHeads*32; layers = [ sequenceInput...
7 months 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 2 个回答 | 0
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...
2 years 前 | 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...
2 years 前 | 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...
2 years 前 | 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...
3 years 前 | 0 个回答 | 0
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; ...
3 years 前 | 0 个回答 | 0
0
个回答提问
ODE45/ODE15 inquiry about nonlinear spring
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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 1 个回答 | 0