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.
Tool/software: TI C/C++ Compiler
Hi,
i need to convert a Float32 array in C5515 in Int16 Array.
How can I do?
Thanks a lot
Paolo
Hi, i thing this is the solution:
float h;
printf("0x%x,\n",*(Int16*)&h);
this should print the number in desired format...what do you think? I'm not sure it is correct...
Thanks a lot
Paolo
Hi Keith,
for example, in VC5505 FFT Filter Demo there is
Int16 coeffs[LPF_7_TAP] = {
0x00c5, 0x0328, 0x081f, 0x0aab, 0x081f, 0x0328, 0x00c5
};
that became from a mathematical expression containing trigonometric functions in order to calculate the Hamming window.
I would like to recreate a new filter and have these values like the example above in Int16 format.
Thanks a lot, Keith.
Bye
Paolo