Td' = var(popul,10);

1 view (last 30 days)
MAINAK MUKHERJEE
MAINAK MUKHERJEE on 23 Dec 2021
Answered: Shanmukha Voggu on 27 Dec 2021
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
Stephen23
Stephen23 on 23 Dec 2021
"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
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 Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!