Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jpr105

  1. jpr105

    matlab accuracy problem

    No problems, I have managed to get it to work. I rewrote the code where it was placed into the matrix and there must have been something there matlab didn't like. All is fine now though. Thanks, J
  2. jpr105

    matlab accuracy problem

    Hi everyone, I am currently trying to store some image locations, with corresponding vote locations for objects. For some reason Matlab is storing a certain entry with the decimal point incorrectly (one place to the left too far) For example: the matrix I have is: 30.0000 323.5900 291.6...
  3. jpr105

    Reading in the leading zeros in a .dat file

    Many thanks for the help guys, M=dlmread('sample.dat'); sprintf('%04d\n',M(:,1)) allowed me to get my data in the form i needed, but I have found another way around it so it's formatted when I am checking the values. J
  4. jpr105

    Reading in the leading zeros in a .dat file

    Thanks for the speedy response. How exactly do I read them in as strings? what is the format command? I have: fid = fread(filename); A = fscanf(fid, format); where I can't seem to find the correct format... Thanks, J
  5. jpr105

    Reading in the leading zeros in a .dat file

    Hi everyone, I am trying to read a parsed xml file in the form of a .dat file into matlab. I have been using load filename.dat to obtain my matrix in the variable filename, but whenever I go to use the matrix, the leading zeros are missing from the first column. The dat file has the following...
  6. jpr105

    Extracting frames from .MOV file in matlab

    It just gives back an error saying that my quicktime .mov should be a matlab movie... any other suggestions are very welcomed :)
  7. jpr105

    Extracting frames from .MOV file in matlab

    Hi everyone, Is there a way to extract frames from a Quicktime .mov file in matlab in the same way that aviread does for .avi's? Many thanks, J
  8. jpr105

    Matlab Image Processing Help

    Ok, Many thanks for your help. J
  9. jpr105

    Matlab Image Processing Help

    ok, so I can set the region of intensity that yellow lies between. Is there a function that can do this using RGB values? This is not for school, it is part of a research project for my Masters. The problem is simply my knowledge of Matlab and the functions built in.
  10. jpr105

    Matlab Image Processing Help

    I do have the image processing toolbox but since I am fairly new to Matlab I am unaware of how this can be useful. Could you please provide more details?
  11. jpr105

    Matlab Image Processing Help

    It is not part of any homework, it is part of research I am doing and I am struggling to think of a way to do this efficiently since I do not know Matlab well enough. I am just trying to find functions with this capability or methods that would be able to do this.
  12. jpr105

    Matlab Image Processing Help

    Dear Forum Members, I have been given a set of images with objects bounded by a yellow box. I need to be able to find the yellow boxes within the images in order to find the centre of the objects. Is there a function built in to matlab that can find boundaries of a certain colour whilst giving...

Part and Inventory Search