Community Profile |

Networker, learner, educator

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

Top 1% contributor

**865**Contributions

89 downloads

21 days ago

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

accepted

2

Answered 8 months ago

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

accepted

2

Answered 10 months ago

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

accepted

2

Answered 12 months ago

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

accepted

2

Answered 12 months ago

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

accepted

1

Answered 4 months ago

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

accepted

1

Answered 6 months ago