dsp

General discussion on mikroBasic for dsPIC30/33 and PIC24.
Post Reply
Author
Message
rverm
Posts: 135
Joined: 18 Nov 2007 04:16
Location: sunny florida

dsp

#1 Post by rverm » 07 Apr 2008 00:48

got a vector ad in the program. 10x10 for the vector destination. what i dont understand is i asigned vec1,vec2 a value of 1 but the vector destination value grows expodentially.
if all vector values are equal to 1 then why do i get values like this.
vecdest 1,1 = 3
2,2 = 5
3,3 = 14
4,4 = 21
5,5 = 34
6,6 = 55
7,7 = 81
8,8 = 99
9,9 = 141

Post Reply

Return to “mikroBasic for dsPIC30/33 and PIC24 General”