Community Profile |

Networker, learner, educator

Professional Interests: Spacecraft dynamics and control, numerical analysis, simulation, animation

Top 1% contributor

**884**Contributions

28 downloads

5 months ago

Seetha, check out this <http://www.mathworks.de/matlabcentral/fileexchange/27132-automatic-template-for-new-functions File Excha...

accepted

2

Answered 10 months ago

suchismita, use a(a<0) = 0;

accepted

2

Answered 11 months ago

Rida, use sum(diag(A(1:3,1:3)))

accepted

2

Answered 1 year ago

Sososasa, use B = A + (A>3)

accepted

2

Answered 1 year ago

Hamid you could use r_min = r(min(find(r*200>246==1))) r_min = 1.3000

accepted

1

Answered 5 months ago

Evelyn, use mean(data(~isnan(data)))

accepted

1

Answered 7 months ago