Bicubic Interpolation in Matlab [closed] - matlab

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
What is The Algorithm For ** Bi-cubic interpolation*?
I am doing this in MATLAB ( i m new to MATLAB). I have already done * Bi-linear interpolation** but i don't know how to do bi-cubic interpolation.

If you need to implement it - read Wiki, link was posted by #robocop
If you need just the result - there is a Curve Fitting Toolbox for Matlab.
Also, I guess, bicubic stands for cubic interpolation for 2D data.
So, you can use interp2 function with method='cubic' to get things done.
Read about it here

Related

What is the best way to plot 3d data in matlab? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
If i have data in NxN grid format (for example see figure) and each cell size is given by (Xmax/N) x (Ymax/N) and data given in each cell is the frequency data of that cell. What is the best way to graphically represent this data in MATLAB such that it is easy to view the frequency for each cell? If I would like to make it like in this example (see colormap), how can I do that what function should I used?
Your choice. Here I put several possibilities:
bar3: if you the points are discrete by meaning
surf or mesh : if the points are continuous by meaning
-imshow or image
in MATLAB 2017b or newer, heatmap
-contour, if you have a sufficiently detailed data
There may be more, please feel free to add them to the post.

Local minima in Backpropagation algorithm [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
The addition of an extra term, called a proportional factor reduces the convergence of the back propagation algorithm.
So how to avoid local minima in Back propagation algorithm.
In local minimum a gradient of an error function is a zero vector - so backprop - which is using a gradient - cannot move your parameters any further and finishes training.

How can I make aperture function (telescope's aperture) in Matlab? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Can anyone help me to make aperture function in Matlab? I tried by making a matrix, but it wasn't helpful.
If you have the image processing toolbox you can use fspecial:
A = fspecial('disk',10);
This will create an aperture of radius 10 pixels.
Next, you can embed this matrix in a bigger zero matrix, using padarray, for example:
A = padarray(A,[20 20]);

Image Processing with radon transform [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have divided an image into 30 blocks and I want to apply radon transform on each block but I do not know how to do that. I know the radon function in matlab but it is for whole image not for each block.
How may I use the radon function for image blocks?
If you already have the image split into blocks, just call radon() for each block.
You could use blockproc, if you have image toolbox.

Bicubic Interpolation [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
My assignment question is :
"In Lecture 9 Slide No.21 There are Affine Transform based equations. Take an input gray-scale image and apply these transformations one by one. The interpolation used must be bi-cubic."
Now the equations are:
I am not understanding what exactly is meant by this question? I mean should i just apply transformation on an image or what? I am confused
I'm sure your TA could answer here...
Anyway, you have to apply the transformations to a set of coordinates (probably two coordinates per pixel if you want to transform images). Since you will get real values instead of integers (as the pixel grid requires), you have to apply bicubic interpolation to obtain the final values on the destination pixel grid.