Community Profile |

A geophysicist who uses MATLAB for most of his modeling.

Professional Interests: geophysics

Top 1% contributor

**1,204**Contributions

Toolbox for solving polynomial systems

22 downloads

4 months ago

It should be possible to mark up Comments.

39

Answered 4 years ago

If your two vectors are |v1| and |v2|, use: v2(isnan(v1)) = nan;

accepted

2

Answered 3 years ago

[~,I] = sort(cellfun(@length,A)); A = A(I);

accepted

2

Answered 4 years ago