Help with the coding please

I have a an input matrix X [231x7] and a weight matrix;w [231x1]. Please help me to code that would calculate the output according to the formula
where x is the mean if input vector x.

回答(1 个)

Appears to be homework, so don't expect anyone to give you a complete solution. Here's a hint:
x = mean(X(:));
exponent = (-1/0.08) * (X-x) * ......you can do the rest, I'm sure

此问题已关闭。

标签

提问:

2013-6-15

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by