Plotting Projections of a Rectangle with Angles
Mostra commenti meno recenti
I have a 256x256 rectangle with all entries being zero.
So far I Have:
figure
R=Pb2_rect; (This file was provided from my professor)
imshow(Pb2_rect)
title('256x256 Projection')
colorbar
theta=0;
The image is

My task is to: Plot the projections of this rectangle for theta= 0, theta= 90 (see also function “radon” in matlab).
How do I do that?
3 Commenti
Well, did you look at the function radon as the exercise suggests?
Nasir Holliday
il 1 Apr 2020
Asvin Kumar
il 6 Apr 2020
The documentation says that theta can be of types numeric scalar, numeric vector or gpuArray. So, you should be able to give one angle as an input to the function.
Risposte (0)
Categorie
Scopri di più su Image Transforms in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!