Frage


How to find the sum of all column vectors of the elements on the kth diagonal of a square matrix in Matlab ?
Hello, sir/madam. I need your help to find a solution to the following case. n = 3; A = magic(n) B = diag(diag(A,0))...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 ...

etwa 8 Jahre vor | 2

| akzeptiert

Frage


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...

mehr als 8 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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')

mehr als 8 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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. ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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-...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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'); ...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort