Matlab 2020b "Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters."

7 visualizaciones (últimos 30 días)
Hi
i'm working on a university project and i'm doing image processing.
So when i researching on google for my project content, i found some codes and tried but matlab gives an error.
I know error type but i can not found any argumant for this, because i'm new on matlab
Anybody can halp me and gives me advice how can i found updatings for matlab 2020b
Error: Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.
Code line: Sn = abs(fft2(noise)).ˆ2;
"^" i think ,this symbol is not useable for matlab 2020b but what symbol is substitute the this symbol for matlab 2020b
  1 comentario
Stephen23
Stephen23 el 17 de Dic. de 2021
Editada: Stephen23 el 17 de Dic. de 2021
Sn = abs(fft2(noise)).ˆ2;
% ^ invalid character (U+02C6, MODIFIER LETTER CIRCUMFLEX ACCENT)
Sn = abs(fft2(noise)).^2;
% ^ valid character: (U+005E, CIRCUMFLEX ACCENT) from ASCII

Iniciar sesión para comentar.

Respuestas (1)

Bjorn Gustavsson
Bjorn Gustavsson el 17 de Dic. de 2021
It might well be that the "ˆ" symbol have been encoded to some othe character than "^" (I'm completely un-interested in character-sets and the like (as long as I get to use ö and Å in my name and for the length-unit respectivel)). So just try to change whatever the "ˆ" is to the "^" character from your keyboard.
HTH

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by