Td' = var(popul,10);

Td' = var(popul,10);
The expression to the left of the equals sign is not a valid target for an assignment.why this error is showing? please help

1 Comment

"why this error is showing?"
Td' = var(popul,10);
% ^ single quote is not valid in a variable name.

Sign in to comment.

Answers (1)

Shanmukha Voggu
Shanmukha Voggu on 27 Dec 2021

0 votes

Hi Mainak,
A valid variable name starts with a letter, followed by letters, digits, or underscores
The link here might be helpful.

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 23 Dec 2021

Answered:

on 27 Dec 2021

Community Treasure Hunt

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

Start Hunting!