Community Profile |

b = sum(a(:,1:10:91),2)

accepted

2

Answered 2 years ago

Let M be your matrix. M(isnan(M))=1;

accepted

2

Answered 3 years ago

How long is the vector? Would this work? if all(A>3) %do something else %do other thing end

accepted

1

Answered 2 years ago

[xx,yy]=ndgrid( -2:1:2, -2:1:2); xy = [xx(:), yy(:)]; x = xy(:,1); y = xy(:,2);

accepted

1

Answered 2 years ago

doc quiver3

accepted

1

Answered 2 years ago

N = [N1; N2; N3];

accepted

1

Answered 2 years ago

I am assuming by your directory structure you have Windows: winopen('G:\name1\inputs');

accepted

1

Answered 3 years ago