Effacer les filtres
Effacer les filtres

How to calculate hurst index in matrix data?

2 vues (au cours des 30 derniers jours)
Surendar Babu B
Surendar Babu B le 11 Déc 2021
Réponse apportée : Voss le 11 Déc 2021
Hello everyone,
I have temperature data in matrix (360x720x120), here 120 is temperature data in 120months. I tried to run the code using hurst function using following link:
https://ch.mathworks.com/matlabcentral/fileexchange/70192-hurst-exponent?s_tid=srchtitle
It is showing some error; Error: Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.
How to ractify this error? I want the final outcome (map) as 360x720.
Please help me solve this. I will be thankful.
% I have tried to run the code in this way
for y=1:360,
for x=1:720,
for i=1:120,
A(i)= temperature_data(y,x,i);
H = hurst(A);
end; `
map(y,x)=H; %final outcome
end;
end;

Réponses (1)

Voss
Voss le 11 Déc 2021
Notice this line (the end; corresponding to the for i=1:120):
end; `
There is a bunch of white space and a '`' character after the end;. Delete that stuff and see if it works.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by