phiguera / CharAnalysis

Diagnostic and analytical tools for sediment-charcoal analysis
12 stars 3 forks source link

matlab error " #5

Open ahumam opened 1 year ago

ahumam commented 1 year ago

Hi, I tried to analyze microcharcoal data but suddenly this error occured: Error in CharPeakAnalysisResults (line 986) Error in CharAnalysis (line 125) MATLAB:UndefinedFunction

Do you know how to fix it?

Thank you.

phiguera commented 1 year ago

Hello, From the errors above, is sounds like Matlab is missing a function needed to run. You can learn this by trying to run the example records: if they run, then the issue is in your own data input file. If the sample records do not run, then the program is not set up correctly yet.

Bigger picture, note that CharAnalysis and the peak-detection approaches it executes were not designed to be used with microscopic charcoal records. There's no reason it couldn't run on microscopic charcoal records, but the rationale for the approach is based on macroscopic charcoal records in relatively "small" lakes.

ahumam commented 1 year ago

Oh I see, so the software is not intended for micro charcoal analyze. I think the issue is due to the low resolution of my data (every 10 cm depth and it is micro charcoal data). When I tried with example record data, it ran perfectly. I will try with other data of macroscopic charcoal that I'll have later. Thank you for your brief explanation!

Best regards