photo

haohaoxuexi1


Last seen: 4 månader ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Question


Using transformer neural network for classification task
numChannels = inputSize; maxPosition = 256; numHeads = 4; numKeyChannels = numHeads*32; layers = [ sequenceInput...

5 månader ago | 1 answer | 0

1

answer

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

ungefär 2 år ago | 2 answers | 0

2

answers

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

ungefär 2 år ago | 2 answers | 0

2

answers

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

mer än 2 år ago | 2 answers | 0

2

answers

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

mer än 2 år ago | 2 answers | 0

2

answers

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

nästan 3 år ago | 0 answers | 0

0

answers

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

ungefär 3 år ago | 0 answers | 0

0

answers

Question


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

ungefär 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer