Pregunta


Sum of array elements at 45° degree oblique dimension in Matlab
Hello everyone! I need your help! Can anyone tell me how to find the sums (in red) of magic(3) array elements at 45° degre...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Respondida
The Bilinear Interpolation Embedded Matlab Function Vs Bilinear Interpolation 'Re-Written or Coded' Function
The following script produces the result similar to the result produced by the Matlab embedded bilinear function: function ...

más de 7 años hace | 2

| aceptada

Pregunta


The Bilinear Interpolation Embedded Matlab Function Vs Bilinear Interpolation 'Re-Written or Coded' Function
Hello everyone! I have a question. Can you please help me to understand why the embedded matlab function of the bilinear inte...

más de 7 años hace | 4 respuestas | 0

4

respuestas

Pregunta


A question about different image size generation using Matlab
Hello everyone! I need your help! Can anyone please tell me why, the Y1 becomes empty and its size changes when I input a tru...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
I want to overwrite some specific border lines in Matlab, can anyone help ?
A = magic(4) B = circshift(A,[1 1]) C = padarray(B(2:end,2:end),[1 1],'replicate','pre')

casi 8 años hace | 0

| aceptada

Pregunta


I want to overwrite some specific border lines in Matlab, can anyone help ?
Hello! I have a situation like this: <</matlabcentral/answers/uploaded_files/53744/Q1.png>> And, I want to use the enc...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can you please help to find out why I am obtaining a negative PSNR value in the following Matlab code ?
Dear Experts, I am getting a negative PSNR value with the following Matlab code. Can you please help ? % main program t...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


What is an alternative FIND function that find indices and values of both ZERO and NONZERO elements in Matlab ?
Hello, I am using Matlab and I would like to know how to find indices/values of both *zero* and *nonzero* elements of a given...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


In an assignment A(:) = B, the number of elements in A and B must be the same
Can you please help me to correct the above mentioned problem in the following matlab code ? E = [5,200]; Selected edge va...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to set conditions to modify the pixel values: (1) at the right(x+1,y)-and-left (x-1,y); and (2) at the top (x,y-1)-and-bottom (x,y+1) with reference to the central pixel (x,y)
Hello! I need your help to 'conditionally' modify the pixels around an arbitrary selected point/pixel at (x,y) using Matlab. ...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can anyone help me to find out why I can't replace pixel values at (x, y-1) and (x+1, y) with the value at (x, y) ?
I am using Matlab and I need your help! Assume that the 8 neighbors of the location (x,y) are: top-left (x-1,y-1); top-...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


HELP : Subscript indices must either be real positive integers or logicals - AGAIN
I need your help to solve the problem of subscript index that must either be positive integer or logical. Can any one help to co...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can anyone explain why the empty or black holes (or squares) disappear as I add more products (of the weighting function-Wx and pixels values - Nx) in the Y(i,j) sum ?
Hello, I do need your help! Here's the source code that does the bilinear interpolation: _I = imread('LENNA128.bmp'); ...

casi 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


I need your help to add a legend to a graph showing two functions labels with different colors
When I ran the following code in Command Window, I get a legend but with only blue color for e1 and e2 functions. In other words...

alrededor de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How can one create/calculate the (bicubic interpolation) output matrix ?
Hello, I was reading about bicubic interpolation at <http://www.mathworks.nl/help/vision/ug/interpolation-methods.html#f13687...

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Why does this bilinear interpolation algorithm have two Y(i,j) outputs (i.e. Y(i,j)=I(ceil(y),ceil(x)) and Y(i,j)=(y-y2)*P+(y1-y)*Q )? How difference are they ?
What is the meaning of each bolded-lines in the traditional bilinear interpolation algorithm source code shown below ? Why these...

más de 9 años hace | 1 respuesta | 0

1

respuesta