I would like to create a NxM white image. But how to put color vectors [256 256 256] into a 2D array? …
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
I would like to create a NxM white image. But how to put color vectors [256 256 256] into a 2D array? …
I = imread('img.jpg'); I = (double(I).^3) The problem is, when I do operations like I.^3, pixels go far away from 255 value. I need them to be in range 0 - 255, and be able to m…
I have black and white image data that is stored in a matrix, 'img'. When I execute the following commands, I can see the image in black and white: imagesc(img); colormap(gray);…
How do I obtain the coordinates of the mouse on the screen displayed somewhere in my figure window?…
I have created a GUI with GUIDE, and I would like to let app users print an image of the app with a button. How can I do this? …
I have signal and i want to plot it's power spectral density , What should i do? is it right if i first calculate the FFT of a signal and then get the square abs of it's value?…
I want to plot spectrum diagram which gives the frequency content of a signal x(t) for example if i draw spectrum of x(t) = 14 cos(200*pi*t -pi/3) by hand it will be two arrows at …
How do I display an image on a GUI component such as a push button or axes? …
Hi, I am a new user, struggling hard to learn classification using naive Bayes and SVM through classification Learner app. How I can get results in the form of image instead of …
Hello, I tried to perform imopen function only on ROI without affecting other region but got error. My input image is human's iris in greyscale format. i=imread('snowflakes.png'…