Correcting a 'Parse Error'

6 visualizaciones (últimos 30 días)
KeishaJ
KeishaJ el 23 de Jun. de 2020
Editada: KSSV el 23 de Jun. de 2020
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.

Respuestas (1)

KSSV
KSSV el 23 de Jun. de 2020
Editada: KSSV el 23 de Jun. de 2020
A variable name cannot start with a number....
1a = 3 % not allowed
a1 = 3 % allowed
So rename 1SSR to SSR1, 1R2 to R21.

Categorías

Más información sobre Language Support en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by