0
Normalisation principle in X2C

Hi, I am a beginner of SCILAB X2C user and using free version of SCILAB.

I wish to use Scilab X2C tobuild code for DSPIC processor. But while want to use X2C blocks like addition or multiplication etc. I am uanle to get output value greater than 1. More clearly, if I want to add two variables with values 5 and 6 using constants block and then either want to add them or multiply them using add or multiply blocks the result is always 1. But for any values below 1 and so long the expected result is within 1 i.e. for 0.5 and 0.06 it works fine.

Now my question is how can I use such type of variable of having values higher than one? I presume, I have to normalise the varibales. But how can I normalise them I donot know. Your kind suggestion is highly solicited in learning and solving these problems.

N.B. Suggestion of any study material regarding this is also requested. and guideline to get X2C. Though I am a profesor in Electrical Engineering, I am unable to get educational version license of X2C as X2C authority remains silent on my repeated request. Any guideline to get X2C education version is also apprciable.

Thank you

With kind regards


Scilab 24-08-20, 5:10 p.m. jnbera
0
What is the difference between 2nd and 3rd? By looking at the examples in the video both looks same. Please let me know thanks. Tutuapp 9Apps Showbox
15-09-20, 3:57 p.m. nadhim


Log-in to answer to this question.