Dont know how to name this...

4 views (last 30 days)
Borna rasperic
Borna rasperic on 13 Nov 2019
Commented: Borna rasperic on 13 Nov 2019
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
KALYAN ACHARJYA
KALYAN ACHARJYA on 13 Nov 2019
>> b=[0,5]
b =
0 5
Borna rasperic
Borna rasperic on 13 Nov 2019
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)

Tags

Community Treasure Hunt

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

Start Hunting!