Matlab code contains comments with strange/unrecognisable characters. Can these be "translated" in English?

조회 수: 5 (최근 30일)
Dear all,
I am currently evaluating this code, available from https://it.mathworks.com/matlabcentral/fileexchange/116570-pre-processing-of-tasi-data . When opened, the actual script is fine, but the comments are a mix of english and unclear characters. Can you suggest a way, if any, to decode these characters and "translate" them in English?
I guess they were written in a different language (i.e., Chinese?)
You can see an example below:
function [ytr,ylp,yld]=gaiAAC(data,a,b)
% y:¾­Ñ鹫ʽTrºÍPd
% yy:¸Ä½øÐ͵Ä͸¹ýÂÊ
% yyy:¸Ä½øÐ͵ÄÉÏÐзøÉä
% data:ʵÑéÇø
% a:ISAC·ÖÇøµÄÊýÁ¿
% b:ISACÖеÄNESR
load ma;
load mb;
tr=[ma1tr;ma2tr;ma3tr;mb1tr;mb2tr;mb3tr];
lp=[ma1lp;ma2lp;ma3lp;mb1lp;mb2lp;mb3lp];
ld=[ma1lsky;ma2lsky;ma3lsky;mb1lsky;mb2lsky;mb3lsky];
TR=tr(:,28)./tr(:,29);
Pd=lp(:,28)-TR.*lp(:,29);
%´óÆøÍ¸¹ýÂÊ
coeftr100=zeros(32,9); %»ñµÃÄâºÏϵÊý
rz100=zeros(110,32); %»ñµÃ²Ð²î
statsz100=zeros(32,4); %»ñµÃÄâºÏÓŶȣ¬µÚÒ»¸ö

채택된 답변

the cyclist
the cyclist 2023년 1월 6일
Given that there have been relatively recent updates to that FEX submission, I would ask the author (by posting in the Discussion tab).

추가 답변 (1개)

John D'Errico
John D'Errico 2023년 1월 6일
If you get no response, you could try Google Translate, though it does not seem to be terribly helpful today. It thinks the comments are Guarani, when I posed this text to translate:
% y:¾­Ñ鹫ʽTrºÍPd
% yy:¸Ä½øÐ͵Ä͸¹ýÂÊ
% yyy:¸Ä½øÐ͵ÄÉÏÐзøÉä
% data:ʵÑéÇø
% a:ISAC·ÖÇøµÄÊýÁ¿
% b:ISACÖеÄNESR
But it tells me nothing more than:
% y:3⁄4Word1«Ê1⁄2TroÍPd
% yy: ̧Ä1⁄2øÐÍμÄÍ ̧1ýÂÊ
% yyy: ̧Ä1⁄2øÐÍμÄÉÏÐзøÉä
% data:ÊμÑéÇø
% a:ISAC·ÖÇøμÄÊýÁ¿
% b:ISACÖÐμÄNESR
So just contact the author.
  댓글 수: 2
the cyclist
the cyclist 2023년 1월 6일
편집: the cyclist 2023년 1월 6일
I tried Google Translate, too, and got a different guess at the language detection. I suspect it is garbage characters that ended up in the file somehow. But it's difficult to know for sure, of course.
Simone A.
Simone A. 2023년 1월 6일
Yeah, I tried a similar approach by opening it in Word. It detects Vietnamese, but still I wasn't able to decode it. It seems like it was written with a different keyboard (i.e., Chinese, Vietnamese, etc.), and then when uploaded these characters were impropriatelly converted (just a guess).

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by