提问


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

8 years 前 | 2 个回答 | 0

2

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

已回答
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 ...

8 years 前 | 2

| 已接受

提问


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

8 years 前 | 4 个回答 | 0

4

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

已回答
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')

8 years 前 | 0

| 已接受

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 0 个回答 | 0

0

个回答

提问


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

9 years 前 | 2 个回答 | 0

2

个回答

提问


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

9 years 前 | 1 个回答 | 0

1

个回答

提问


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

9 years 前 | 1 个回答 | 0

1

个回答

提问


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

9 years 前 | 1 个回答 | 0

1

个回答

提问


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

9 years 前 | 1 个回答 | 0

1

个回答

提问


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

9 years 前 | 0 个回答 | 0

0

个回答

提问


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

9 years 前 | 0 个回答 | 0

0

个回答

提问


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

10 years 前 | 0 个回答 | 0

0

个回答

提问


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

10 years 前 | 1 个回答 | 0

1

个回答