Complex numbers input in neural networks
12 次查看(过去 30 天)
显示 更早的评论
I need to extract features and train a neural network from frequency response data (magnitude and phase vs. frequency). The magnitude and phase is essentially form a complex number. I have 100 samples and each sample has 1000 magnitude and phase data points. The frequency range is the same for all data. What is the best way to feed this data to the “nntriantool. As far as I know this tool will not accept complex numbers. I cannot feed the magnitude and phase data separately, since it occurs as a pair. If the only way is to write my own neural network, how can I pass the input data as a pair OR will the neural network toolbox functions accept complex numbers as arguments Thanks in advance.
0 个评论
采纳的回答
Anton Semechko
2018-6-11
You can represent a complex number, a+i*b, as a 2-vector [a b], so use that format instead. Suppose that F is an array of complex numbers, then to you can get real and imaginary components of F as follows: [real(F) imag(F)]
4 个评论
Priya Jose
2019-11-27
Sir how dso you create your own neural network? i also want to add complex number target for training using nnstart.(fitting app)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!