Community Profile

photo

John Marl


Actif depuis 2018

Statistiques

Content Feed

Afficher par

Question


How do I plot the magnitude spectrum |H(f)| of x(t)=cos(10t) by using discrete Fourier transform with 50 samples?
Confused on how I can plot |H(f)| of x(t) by using Discrete Fourier Transform.

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


How do I use the command fft(x) to compute the DFT of a vector x that is defined over (0≤n≤N0-1).
The signal is x(t)=cos(10t) with sampling rate of 50 HZ. I just having trobule on how to set up this signal into matlab.

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do I code to preform binary thresholding on image C? With the threshold values being .25,.63, and .89? And then display the images obtained and label the thresholds used in the plots.
a=imread('C:\Users\Nathan Donatell\Pictures\SanDiego.jpg'); g = rgb2gray(a); b = im2double(g); c= mat2gray(a); D1=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how do I display the histogram of each image D1, D2, D3, and D4 by using the corresponding image using the subplot command? Each histogram should contain 256 pixels values
a=imread('C:\Users\Nathan Donatell\Pictures\SanDiego.jpg'); g = rgb2gray(a); b = im2double(g); c= mat2gray(a); D1=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do I use the subplot command in Matlab to display all 4 images D1 through D4 and label the plots with the powers used to obtain them?
a=imread('C:\Users\Nathan Donatell\Pictures\SanDiego.jpg'); g = rgb2gray(a); b = im2double(g); c= mat2gray(a); D1=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do i raise the pixels in c to a power of .25? and then store the new image?
a=imread('C:\Users\dona2264\Downloads\SanDiego.jpg'); g = rgb2gray(a); b = im2double(g); c= mat2gray(b);

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do i turn variable g into a type double?
<</matlabcentral/answers/uploaded_files/140620/Picture4.png>>

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do i figure out the size of the matrices for a and g?
<</matlabcentral/answers/uploaded_files/140546/Picture18.png>>

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do I convert g into a double then store it in a new variable then rescale the image with new values that range from 0 to 1 and then plot it?
<</matlabcentral/answers/uploaded_files/140545/Picture18.png>>

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do i plot this rect function and unit step function into matlab?
<</matlabcentral/answers/uploaded_files/139258/Picture9.png>>

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


Just wondering how to I plot these functions into Matlab?
<</matlabcentral/answers/uploaded_files/139244/Picture9.png>> Just need help plotting these two functions into Matlab

plus de 5 ans il y a | 1 réponse | 0

1

réponse