Error in extract_bath

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Error in extract_bath

#1 Unread post by agpc »

Hi everyone,
I have a problem when using the extract_bath.m program. The detail of issue is presented below:
>> extract_bath
Unrecognized function or variable 'h'.

Error in extract_bath (line 54)
zbathy=reshape(h,1,prod(size(h)))';
I also attached my the extract_bath.m and x_etopo.m program in this post.
Please help me to solve this issue.
Many thanks!
Attachments
x_etopo.m
(3.44 KiB) Downloaded 148 times
extract_bath.m
(2.1 KiB) Downloaded 152 times

Post Reply