Recent content by UrIkOn

  1. U

    MATLAB How can I improve the performance of my MATLAB code when using loops?

    Ya,I learned fft before. This is the assignment question: 1. Take a photo with your own camera and import it into Matlab converting it to a 8-bit512x512 pixel gray scale imageI(x,y). 2. Display the original and the gray-scale image. 3. Write your own function to implement the Discrete Fourier...
  2. U

    MATLAB How can I improve the performance of my MATLAB code when using loops?

    I use looping to implement this formula https://www.physicsforums.com/attachment.php? attachmentid=46840&stc=1&d=1335864568 But,when I run, mathlab will hang?Why? %Import picture into Matlab img=imread('picture.jpg','jpg'); img512=imresize(img, [512 512]); imgGRAY=uint8(rgb2gray(img512))...
Back
Top