How to find the model of a black box with a known input and output signature of signal.
3 views (last 30 days)
Show older comments
Please help me identify the model of a black box with a known input x(t) and output y(t), using the provided DATA.mat.
I have attempted to map the output to the given input using MATLAB System Identification Toolbox and neural networks, as described in the application section, but have not been successful.
Kindly assist in mapping this input to the output. You are free to use any methods.
Attacked input and output data.
4 Comments
Sam Chak
on 15 Sep 2024
Hey @CM Sahu
Why not plot the data exactly as you wish to present it? By attaching the image (click this icon ), we can better understand the input-output relationship, which may enable us to suggest a suitable model.
All data can theoretically be represented in various forms of knowledge-based models. However, it ultimately depends on how you wish to interpret the model to ensure it is easily understood by individuals within your field.
If you choose neural networks, then it will represent a highly sophisticated type of black-box model.
Answers (1)
Shubham
on 15 Sep 2024
Hey Sahu,
I have tried plotting a subset of the data on the figure. Check out the following code snippet:
load('DATA.mat','data')
x = data(1:50,1)
y = data(1:50,2)
% Plot the original data and the fitted model
figure;
scatter(x, y, 'filled');
xlabel('x(t)');
ylabel('y(t)');
I get the plot as follows:
When I plot all the values, the data does not give much information, however based on the small subset of the data, I believe a high degree polynomial could fit this data.
Although it would be beneficial if you could provide more information on the data.
I hope this helps!
See Also
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!