フィルターのクリア

Error using - Matrix dimensions must agree.

1 回表示 (過去 30 日間)
sita
sita 2013 年 6 月 14 日
Hi,
I am trying to calculate y
y=x1.^2-2*x2.^2+3*x3.^2-4*x4.^2+5*x5.^2-6*x6.^2+7*x7.^2+8*x8.^2-9*x9.^2+10*x10.^2
if i remove -6*x6.^2 it works.All matrix sizes are same.no mismatch in size of matrices.Please help me to fix this.
Thanking You, Sita
  3 件のコメント
sita
sita 2013 年 6 月 14 日
thanksfor your quick response.anyway prob got fixed ..there was some mismatch of size of matrices
John Doe
John Doe 2013 年 6 月 14 日
"...there was some mismatch of size of matrices". You already stated that in your question title. Well, good thing you figured it out though.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by