Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to solve the equation?

1 Ansicht (letzte 30 Tage)
Darsana P M
Darsana P M am 16 Apr. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have the following code to do fft();
d='cameraman.png';
F=fft2(d);
Fsh=fftshift(F);
s2=log(1+abs(Fsh));
In the fourth step, I wanted to get the value of Fsh, What should be the format to find this in matlab.
I tried doing this operation:
Fsh=round(exp(s2))-1
Can somebody help me with the right format to do this equation in matlab?
  2 Kommentare
Walter Roberson
Walter Roberson am 16 Apr. 2018
You cannot take the fft of a character string.
Have you considered reading in the file named by the character string?
Shounak Shastri
Shounak Shastri am 16 Apr. 2018
Use 'imread()'to read the file.
But if you want to find the fft of the string, then convert it to integer or double before taking the fft.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by