Question

Exercise 2.2 page 77 State, giving reasons, which of the following are not valid MatLab variable...

Exercise 2.2 page 77

State, giving reasons, which of the following are not valid MatLab variable names:

a) a2

b) a.2

c) 2a

k) min*2

f) _x_1

j) Pay_Day

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

a) a2 is allowed since it is starting from a char and has integers and no inbuilt operator

b) a.2 is not allowed since . operator is used for structure

c) 2a is not allowed since variable can't start with numeric

k) min*2 is not allowed since * is an inbuilt operator to multiply

f) _x_1 is not allowed since names can't start with _

j) Pay_Day is allowed since it contains only chars with underscore inbetween

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Exercise 2.2 page 77 State, giving reasons, which of the following are not valid MatLab variable...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT