- Make sure you have the Control System Toolbox installed.
- Open MATLAB and navigate to the MATLAB Command Window.
- Load the "TwoTankSystem" dataset using the following command:
- load('twotankdata.mat');
Can anyone help me find a data set for a non-linear system such as cascades tank or Model of DTS200 Three Tank
3 次查看(过去 30 天)
显示 更早的评论
I need these datasets for my thesis and I can't find them anywhere.
0 个评论
采纳的回答
Shivansh
2023-9-5
Hi David,
I understand that you are not able to find a dataset which meets your requirement.
One dataset that you can use for modelling a non-linear system, such as cascades tank, is the "TwoTankSystem" dataset available in MATLAB's Control System Toolbox. This dataset represents a non-linear cascaded tank system and can be used for system identification and control purposes.
To load the "TwoTankSystem" dataset in MATLAB, follow these steps:
This command will load the dataset into your workspace which provides the following variables:
u (input signal): A vector representing the input signal applied to the system.
y (output signal): A vector representing the output signal of the system.
You can also try and simulate a dataset using a mathematical model or by simulation using Matlab or Simulink which represent the behaviour of the cascaded tanks or DTS200 Three Tank system. Following steps can be used for this purpose:
1. Set the desired number of data samples N.
2. Initialize empty arrays to store the input and output data: inputs = [], outputs = [].
3. Define the initial conditions for the system variables (e.g., tank levels, valve positions).
4. For i = 1 to N:
a. Randomly generate an input signal or control action for the system (e.g., valve opening/closing).
b. Apply the input signal to the system and simulate its response for a given time interval.
c. Record the input signal and the corresponding output response.
d. Update the system state variables based on the output response.
e. Store the input and output data in the arrays: inputs[i] = input signal, outputs[i] = output response.
5. Save the input and output data arrays as a dataset.
You can simulate your own dataset using the above steps if the “twotankdata” doesn’t fit your requirement.
2 个评论
Shivansh
2023-11-6
Hi David,
If you want a general introduction about the use of B-splines in MATLAB, you can refer to the following documentation https://www.mathworks.com/help/curvefit/constructing-and-working-with-b-form-splines.html.
For the neural network part, you can refer to documentation for the Deep Learning Toolbox here https://www.mathworks.com/help/deeplearning/index.html. You can select from a range of existing functions from the toolbox which suits your usecase.
Hope it helps!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!