Dont know how to name this...

1 Ansicht (letzte 30 Tage)
Borna rasperic
Borna rasperic am 13 Nov. 2019
Kommentiert: Borna rasperic am 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 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 13 Nov. 2019
>> b=[0,5]
b =
0 5
Borna rasperic
Borna rasperic am 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Stephen23
Stephen23 am 13 Nov. 2019
Bearbeitet: Stephen23 am 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.
  1 Kommentar
Borna rasperic
Borna rasperic am 13 Nov. 2019
thank you very much.....forgot that

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by