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

Function reconstruct doesn't work for any wave series #10

Open
GoogleCodeExporter opened this issue Aug 10, 2015 · 0 comments
Open

Function reconstruct doesn't work for any wave series #10

GoogleCodeExporter opened this issue Aug 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I run the reconstruct.m to reconstruct wave series but it doesn't work for 
all the series.
2.
3.

What is the expected output? What do you see instead?

The errors I get are the following:

??? Index exceeds matrix dimensions.

Error in ==> rndnormnd at 94
    T=(U(:,1:L)*sqrt(S(1:L,1:L))*V(:,1:L)'); %squareroot of S

Error in ==> cov2csdat at 288
      sample((nprev+1):(nprev+ns),:) =...

Error in ==> reconstruct at 210
  [samp ,mu1o, mu1oStd]  = cov2csdat(xnt(:,2),rwin,1,method,inds); % old simcgauss

Error in ==> recon at 12
y=reconstruct(xx1,inds,'nonlinear');        %reconstruct series


What version of the product are you using? On what operating system?

I use wafo 2.5. 
I run it in MATLAB 7.1.0.246 (R14) Service pack 3.

Please provide any additional information below.

I provide two surface elevation series together with a small script I use to 
run the findoutliers.m and reconstruct.m.
It works for ..._97.txt but not for ..._98.txt.

Thank you in advance


Original issue reported on code.google.com by [email protected] on 17 Oct 2013 at 9:29

Attachments:

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

No branches or pull requests

1 participant