Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/23/04 20:30
Read: times


 
#83734 - maybe a solution - or workaround
Responding to: ???'s previous message
And by chance, cannot be your problem described (simplifying) as:
you measure two parameters, say x and y, and from them you need to determine three more values q, r, s. The relations are very complex, but you do the calculations easily in matlab. The result is a set of three matrices q(x,y), r(x,y), s(x,y).
If it is so, then you don't need to perform the complicated calculation on the microcontroller itself (hence you need no matlab-C-51 conversion). Rather, you simply look up a value in the tables for q, r and s for each measured x and y - this is simple and a 51 can cope with it easily.

Of course you have to store the matrices somewhere - this is where the EPROMs come...

Can this be your case?

Jan Waclawek

List of 31 messages in thread
TopicAuthorDate
microcontroller link in matlabe            01/01/70 00:00      
   possible, but not practical            01/01/70 00:00      
   Ask Matlab            01/01/70 00:00      
      Matlab+C+ 8051= ??            01/01/70 00:00      
   reply: microcontroller and matlab link            01/01/70 00:00      
      space vector modulator in a mcu...            01/01/70 00:00      
      Matrix issues            01/01/70 00:00      
         ANSI 'C'            01/01/70 00:00      
            on ANSI-ness and portability            01/01/70 00:00      
               ANSI            01/01/70 00:00      
                  "implementation specific" = problem            01/01/70 00:00      
                     At last !            01/01/70 00:00      
         It can be done            01/01/70 00:00      
      maybe a solution - or workaround            01/01/70 00:00      
         Lookup Tables!            01/01/70 00:00      
            Why Excel?            01/01/70 00:00      
         Lookup table            01/01/70 00:00      
            Depending on size of tables,            01/01/70 00:00      
         need to use eprom            01/01/70 00:00      
            Converting to .hex            01/01/70 00:00      
               Bin2hex            01/01/70 00:00      
   App Note References            01/01/70 00:00      
   keil help            01/01/70 00:00      
      Keil            01/01/70 00:00      
      You still need floating point, sqrt...??            01/01/70 00:00      
      Aaaaargh!            01/01/70 00:00      
   variable time interval            01/01/70 00:00      
      use timer interrupt            01/01/70 00:00      
         Space vector modulation            01/01/70 00:00      
            external eprom            01/01/70 00:00      
               EEPROM            01/01/70 00:00      

Back to Subject List