Complex data type support for dlarray
Show older comments
Hi guys,
I am wondering if it is possible to get complex variable type supported in dlarray. Currently I try to use the auto-differentiation method of matlab r2020a to optimize an optical system, but I find it would not allow me use variables as complex type for dlarray. I would like to request adding the complex type support for dlarray since it is quite common in optical optimization fields (see this paper https://arxiv.org/abs/1904.08601). This feature is already fullfilled by Tensorflow so I would guess it would also be possible for matlab to get it? Much thanks if you guys can expand dlarrary support list in the future.
Yuanlong
3 Comments
Christine Tobler
on 24 Jun 2020
Hi Yuanlong,
If you have a bit of time, could you give some more details about operations you would need to support complex numbers? For example, would you need some of the Deep Learning Operations category, or just the basic operations for dlarray to support complex numbers? Are there other methods not currently supported by dlarray that you would need to work with complex numbers?
Yuanlong Zhang
on 26 Jun 2020
Christine Tobler
on 26 Jun 2020
Thank you for the detailed response, this was very helpful!
Answers (1)
Raunak Gupta
on 24 Jun 2020
0 votes
Hi,
The feature of using complex data type in dlarray is not supported as of now. I have brought this issue to notice of the concerned people and it might be considered in any future release.
3 Comments
Yuanlong Zhang
on 24 Jun 2020
Leila Ahmadi
on 22 Jan 2022
Hi,
Does MATLAB new releases support complex data operations?
Walter Roberson
on 22 Jan 2022
https://www.mathworks.com/help/deeplearning/ref/dlarray.html#mw_5a844837-dcd2-4dcc-9e4a-c3229e1f9e01 says that complex numbers are supported.
Categories
Find more on Deep Learning Toolbox 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!