Community Profile

# Hainan Wang

Last seen: 22日 前 2020 以来アクティブ

バッジを表示

#### Content Feed

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

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

### 1

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

2ヶ月 前 | 1 件の回答 | 0

### 1

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

3ヶ月 前 | 1 件の回答 | 0

### 1

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

4ヶ月 前 | 1 件の回答 | 0

### 1

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

9ヶ月 前 | 0 件の回答 | 0

### 0

I have a Simulink model 'input_checkN1P10test1' and want to run parallel computing with various settings of parameters of this m...

9ヶ月 前 | 0 件の回答 | 0

### 0

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

10ヶ月 前 | 1 件の回答 | 0

### 1

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

10ヶ月 前 | 2 件の回答 | 0

### 2

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

### 1

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