Community Profile |

x = .4 * rand(100,1)-.2;

accepted

2

Answered 3 years ago

syms s >> expand((s+4)*(s+0.5-0.2*i)*(s+0.5+0.2*i)) ans = s^3 + 5*s^2 + (429*s)/100 + 29/25 >> fac...

accepted

2

Answered 3 years ago

c = b'*a

accepted

2

Answered 3 years ago

One way: numel(num2str(A))

accepted

2

Answered 3 years ago

Your equations are not independent. The second is 2 times the first

accepted

1

Answered 8 months ago

a = magic(3); padarray(a,[2 1]) ans = 0 0 0 0 0 0 0 0 0 0 0 ...

accepted

1

Answered 3 years ago

set(gca,'XTick',[])

accepted

1

Answered 3 years ago

x = mean(reshape(y,[],30)).' %y is 3000 x 1

accepted

1

Answered 3 years ago

http://www.mathworks.com/moler/chapters.html

accepted

1

Answered 3 years ago

lsqcurvefit() % optimization toolbox or lsqnonlin()

accepted

1

Answered 3 years ago