Correcting a 'Parse Error'

I am getting a parse error on line 70 1SSR=sum(res1.^2); Can anyone help me out here? My class mates have used this code and are getting no errors soIi am stumped.

回答 (1 件)

KSSV
KSSV 2020 年 6 月 23 日
編集済み: KSSV 2020 年 6 月 23 日

0 投票

A variable name cannot start with a number....
1a = 3 % not allowed
a1 = 3 % allowed
So rename 1SSR to SSR1, 1R2 to R21.

カテゴリ

ヘルプ センター および File ExchangeLanguage Support についてさらに検索

タグ

質問済み:

2020 年 6 月 23 日

編集済み:

2020 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by