Linear Regression Model in Simulink with Blocks
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hamza Farah
el 5 de Nov. de 2023
Comentada: Hamza Farah
el 6 de Nov. de 2023
Hi, I was wondering how I could implement my trained linear regression model on Simulink, the model involves training a sinusoidal wave that has 100 samples to apply a gain to its amplitude. How would I go about creating a function for such a model, and what kind of blocks would I use on Simulink?
0 comentarios
Respuesta aceptada
Drew
el 6 de Nov. de 2023
Since 23a, MathWorks provides a Regression Linear Predict block for Simulink. See https://www.mathworks.com/help/stats/predict-responses-using-regression-linear-predict-block.html
More generally, see the "Regression Predict Blocks" section of the page https://www.mathworks.com/help/stats/code-generation.html
If this answer helps you, please remember to accept the answer.
4 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!