photo

Hainan Wang


Last seen: 2 mesi fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Revival Level 1
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Risposto
Convert the symbolic expression into the expression which can be put on the RHS of an ODE.
I work this out with odefunction. Guess I will answer this myself. clear all clc %% Part1.Define symbolic variables nx ...

circa 3 anni fa | 0

Domanda


Why do I receive this error msg when solving a simple DAE with odefunction?
When I solve this simple DAE with three variables y1(t), y2(t), y3(t), y1' = y2' + y1; y2' = y1; y3 = y1 + y2; y1(0) = 1....

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Convert the symbolic expression into the expression which can be put on the RHS of an ODE.
I have a 2x2 ODE dx1dt = f[1];dx2dt = f[2](see Maple Code at the end for f[1], f[2]). The sensitivity equation is given as dSdt(...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Efficient way to evaluate multiple logic expression as in 'if' condition
I am running an iterative algorithm, which will generate a row vector with 10 parameters. After one iteration, the new row vecto...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Explanation for formula calculating step size for finite difference used in fmincon
When I view the page of ‘fmincon’, one option in optimset is ‘FiniteDifferenceStepSize’. The descriptions are copied below: Fi...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Why same varible shown twice in Simulation Manager with parsim ?
I want to perform a parametric sweep with parsim. The variable I want to sweep is t0, the ‘Start Time’ in Simulink model, from 0...

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


How does the method loadVariablesFromMATFile from Simlink.SimulationInput object work?
I have a Simulink model 'input_checkN1P10test1' and want to run parallel computing with various settings of parameters of this m...

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Save the Simulink model without saving model workspace
I want to save the Simulink model "model1.slx" itself, not saving "model1.slx" within a new model. I don't want its model worksp...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to save Simulink model without model workspace saved
I have a Simulink model named “input_check.slx” and I want to load model parameters loaded from an external .mat file. After I r...

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Find reason for this warning msg: Variable 'hws' originally saved as a handle cannot be instantiated as an object and will be read in as a uint32.
load_system('input_check') hws = get_param('input_check', 'modelworkspace'); hws.DataSource = 'MAT-File'; hws.FileName = 'slx...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Find reason for error msg of Matlab parallel calculation: Variable 't0' has been deleted from base workspace.
Hi, all. Just starting doing parallel calculation with Matlab. Below are part of the code, global t0 t1 ...... ...... t0 = 0...

circa 4 anni fa | 0 risposte | 0

0

risposte