Resuelto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

más de 14 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

más de 14 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 14 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 14 años hace

Respondida
ifanbeam and iradon
The <http://www.mathworks.com/help/toolbox/images/ref/fanbeam.html documentation for fanbeam> has geometry diagrams that might b...

casi 15 años hace | 0

Respondida
Problem using imtransform with custom functions
imtransform uses the "inverse mapping" technique to compute the geometric transform of an image. See my blog posts on <http://b...

alrededor de 15 años hace | 0

Respondida
storing multiple image in single file
There is a method for writing multiple images to a TIFF file that has been in MATLAB a long time. It does not require the recent...

alrededor de 15 años hace | 2

| aceptada

Respondida
convert image from uint8 to double
You are getting the message "Undefined function or method 'im2double' ..." because that function is part of the Image Processing...

alrededor de 15 años hace | 5

| aceptada

Respondida
using discrete FT with iradon
Fast Fourier transform, or FFT, refers to a family of fast algorithms for computing the discrete Fourier transform, or DFT. See ...

alrededor de 15 años hace | 0

| aceptada

Respondida
What evaluates to "true" in matlab?
I don't have anything substantial to add to the previous answers, but I wanted to point out that the behavior of IF for nonscala...

más de 15 años hace | 1

Respondida
How do I properly cite IPT demo images?
The general answer is that you should approach the copyright owner for permission to use sample images in your publications. For...

más de 15 años hace | 0

| aceptada

Respondida
Problem on 'bitand' method
Here's a different kind of overlay: Iresult = I1; Iresult(ICmp) = 255; % assuming I1 is uint8 This version turns all ...

más de 15 años hace | 0

Respondida
Problem on 'bitand' method
The general answer is to use the elementwise logical operators &, |, and ~ instead of bitand and bitor to do this sort of manipu...

más de 15 años hace | 0

Respondida
How do I fill 4-connected cells in an matrix?
I posted an answer (using bwhitmiss) in response to your <http://www.mathworks.com/matlabcentral/answers/4445-fill-4-connected-c...

más de 15 años hace | 0

Respondida
Fill 4-connected cells exclusively
I assume you meant your sample matrices to be 8-by-8 instead of 1-by-64? If that's true, then it looks like you want to change a...

más de 15 años hace | 1

| aceptada

Respondida
How do I fill 4-connected cells in an matrix?
>> imfill(A,4,'holes') ans = 1 1 1 0 1 0 1 1 1 1 1 1 1 ...

más de 15 años hace | 0

Respondida
How does Matlab function imresize calculate values on borders of image
When the interpolation computation needs pixel values outside the domain of the image, it assumes they are equal to the nearest ...

más de 15 años hace | 1

Respondida
Image processing toolbox- bwtraceboundary function
For question 1, use bwboundaries instead of bwtraceboundary. The function bwboundaries is intended to automatically trace all bo...

más de 15 años hace | 1