Search:

Type: Posts; User: InnerCityBlues

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,305

    Decimals in a matrix

    Is it possible to put decimal values in a matrix? I tried creating a double matrix and I'm not getting what I want.

    For example


    double A[1][3];

    A[0][0] = 2 *(x + x1);
    A[0][1] = 2 *(y +...
  2. Graphing a direction field and intensity map

    Hello, I'm doing an assignment where I need to create a slope/direction field and an intensity map for a given function. I have no problems getting my data, that was quite simple, I have an image...
  3. Thanks everyone, yeah I found that resource too...

    Thanks everyone, yeah I found that resource too online, but the PGM files weren't in the format given in the text file you linked, I got some help with this and I'm banging throught the program now,...
  4. Code to store PGM file as a workable array

    I've been hacking my brais trying to figure this out and all the resources I keep using get me errors. I'm using Dev-C++ and I can't figure out the code to simply take a pgm file (let's call it...
  5. New to C++, trying to get program to run

    Hello everyone, I got a little help with some coding for a homework assignment where I'm supposed to use a Sobel filter for edge detection in a picture. I got the code for it, but since my...
Results 1 to 5 of 5