Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about running code #1

Open
mohseniaref opened this issue Feb 21, 2024 · 1 comment
Open

Question about running code #1

mohseniaref opened this issue Feb 21, 2024 · 1 comment

Comments

@mohseniaref
Copy link

Hi,

Thanks so much for sharing the code. I am trying to run Texturecorrelation.m using my data. I would really appreciate if you could help me in this regard
I am not sure about parameter but this is how i set it

N = 86;(number of date)
N_ref = 2;
Na_ref = 5113;azimuth number of pixel
Nr_ref = 5503;range number of pixel
lamda = 0.56;

and after this line

[k_LLF,d_LLF,k_HTC] = slope_estimation(phase_ts_deramp,dem,MASK,W,r,N_ref); % **6

I get this error. How can i fix this?

Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Warning: Polynomial is not unique; degree >= number of data points. 
> In polyfit (line 79)
In slope_estimation (line 57) 
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the
right side is 1-by-41.

Error in slope_estimation (line 122)
            Results_Compare(3,n) = k(index);
@yunjunz
Copy link
Member

yunjunz commented Feb 23, 2024

Hi @mohseniaref, thank you for your interest in trying our code! @yangqy916 has been busy writing her dissertation recently, so I would expect a slow response from her regarding your issue above.

I will try her Matlab code with the dataset used in the manuscript and let you know how it goes if I find some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants