请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F28379D 主题中讨论的其他器件: C2000WARE
您好!
能否告诉我、对于 TMS320f28379D、是否存在用于计算复数的库。
例如、我需要计算传递函数的复数部分和实数部分。
此致
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
能否告诉我、对于 TMS320f28379D、是否存在用于计算复数的库。
例如、我需要计算传递函数的复数部分和实数部分。
此致
您好,Rasto,
我查看了 C2000Ware 中存在的库、我看到的唯一使用复数的函数是一些 FFT 和矢量运算。 除了这些之外、对于复杂数字、似乎没有任何常规数据类型/结构/函数。 在向量函数中、complex_float 数据类型只是以下结构:
typedef struct {
float64_t real; //!< Real part of the data point
float64_t imag; //!< Imaginary part of the data point
}complexf64_t;
您可以在代码中使用此结构、但您现在必须创建的任何函数。
此致、
Omer Amir