how to insert 500 inputs into a script that also contains a function

2 次查看(过去 30 天)
Hi everyone, I should run my script 500times with 500 inputs automatically which I have already obtained and inserted into an array.
(The outputs will be used as a dataset to train a neural network)
does anyone know how i can create a function or script for this?
thank you very much

回答(1 个)

Cris LaPierre
Cris LaPierre 2022-3-21
Sounds like a job for a for loop. See Ch 12 of MATLAB Onramp.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by