index.png
please help I dont know why cant I get value 0,05 when I put it in variable or just print it

2 Comments

problem is in that that if I write in examplw Tau= 0,05, I get answer Tau=0 and below that ans =5

Sign in to comment.

 Accepted Answer

Stephen23
Stephen23 on 13 Nov 2019
Edited: Stephen23 on 13 Nov 2019
MATLAB only accepts decimal point , and does NOT accept a decimal comma.
When you write a comma you are writing two separate values.
When you write a point you will define a decimal number.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!