Search:

Type: Posts; User: kurko82

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,529

    Ok, i'll look for it. Thank you.

    Ok, i'll look for it. Thank you.
  2. Replies
    2
    Views
    1,529

    mathematical Libraries

    Hi. I work above all with Matlab (in C I am a beginner), but i know that a well programmed C code is faster than a Matlab one. So, is there any mathematical library which contains functions similar...
  3. Replies
    14
    Views
    2,316

    You are right. In fact, I have just made a...

    You are right. In fact, I have just made a function to do the index:



    int coord(int i, int j, int cols)
    {
    return (j-1) * cols + (i-1);
    }
    for (int x = 1; x < filas; x++){
    for(int y = 1;...
  4. Replies
    14
    Views
    2,316

    Ok thanks for your answers. I finally did it ;) ...

    Ok thanks for your answers. I finally did it ;)



    for (int x = 0; x < rows; x++){
    for(int y = 0; y < cols; y++){

    data2[x * cols + y] = ax*ay*data[x * cols + y] + .....

    }
  5. Replies
    14
    Views
    2,316

    OK, you are right, I explained it better last...

    OK, you are right, I explained it better last message. My problem with arrays come when I try to write in array2D all MxArray values. MxArray is a double matrix(array2D). And thanks for your sum...
  6. Replies
    14
    Views
    2,316

    lol, thanks for your answer and for your...

    lol, thanks for your answer and for your correction (have to -> may, i may improve my english).
    Well, data2 is an output array and its values are added each "for loop" iteration, and data is only...
  7. Replies
    14
    Views
    2,316

    Hi Mats. Thanks for your answer. The problem is...

    Hi Mats. Thanks for your answer. The problem is that data is an input array, so I have to put their values to a new array, or do i have to use a pointer to this array?
  8. Replies
    14
    Views
    2,316

    How to make this "for loop"

    Hi. I made a function in Matlab for image processing (with 256x256 arrays), but it contains a "for loop" that make it slow. So I think it'd be faster in c++, but i'm just a beginner and i don't know...
Results 1 to 8 of 8