Community Profile |

A geophysicist who uses MATLAB for most of his modeling.

Professional Interests: geophysics

Top 1% contributor

**1,164**Contributions

An extension of the handle graphics set/get class HGSETGET.

9 downloads

4 years 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