How do I resolve ambiguity in the "refinemesh" arguments?

2 views (last 30 days)
In the definition of the arguments of refinemesh it says
"An extra input argument it is interpreted as a list of subdomains to refine, if it is a row vector, or a list of triangles to refine, if it is a column vector."
What if I wanted to refine only a single triangle? How can I get refinemesh to not interpret the single value as a list of subdomains?

Accepted Answer

Walter Roberson
Walter Roberson on 27 Jun 2013
Perhaps pass in NaN as a second element. Or pass in the same triangle number twice.
  1 Comment
Carolyn
Carolyn on 27 Jun 2013
Passing NaN as a second element did not work. But passing in the same triangle number twice did.
Thanks for something that works. This will be a slightly annoying kluge to have to implement.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!