meshgrid.cpp
Go to the documentation of this file.
00001 /*
00002  * meshgrid.cpp
00003  *
00004  * Code generation for function 'meshgrid'
00005  *
00006  * C source code generated on: Wed Jul 24 16:11:35 2013
00007  *
00008  */
00009 
00010 /* Include files */
00011 #include "rt_nonfinite.h"
00012 #include "Optimal_affine_tracking_3d16_fast_realtime.h"
00013 #include "meshgrid.h"
00014 
00015 /* Type Definitions */
00016 
00017 /* Named Constants */
00018 
00019 /* Variable Declarations */
00020 
00021 /* Variable Definitions */
00022 
00023 /* Function Declarations */
00024 
00025 /* Function Definitions */
00026 void meshgrid(const real_T x[25], const real_T y[25], real_T xx[625], real_T yy
00027               [625])
00028 {
00029   int32_T ia;
00030   int32_T ib;
00031   int32_T iacol;
00032   int32_T jcol;
00033   int32_T itilerow;
00034   ia = 1;
00035   ib = 0;
00036   iacol = 1;
00037   for (jcol = 0; jcol < 25; jcol++) {
00038     for (itilerow = 0; itilerow < 25; itilerow++) {
00039       xx[ib] = x[iacol - 1];
00040       ia = iacol + 1;
00041       ib++;
00042     }
00043 
00044     iacol = ia;
00045   }
00046 
00047   ib = 0;
00048   for (iacol = 0; iacol < 25; iacol++) {
00049     ia = 0;
00050     for (jcol = 0; jcol < 25; jcol++) {
00051       yy[ib] = y[ia];
00052       ia++;
00053       ib++;
00054     }
00055   }
00056 }
00057 
00058 /* End of code generation (meshgrid.cpp) */


depth_tracker_ros_vr8
Author(s): shusain
autogenerated on Fri Dec 6 2013 20:45:47