Dont know how to name this...

4 visualizaciones (últimos 30 días)
Borna rasperic
Borna rasperic el 13 de Nov. de 2019
Comentada: Borna rasperic el 13 de Nov. de 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 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 13 de Nov. de 2019
>> b=[0,5]
b =
0 5
Borna rasperic
Borna rasperic el 13 de Nov. de 2019
problem is in that that if I write in examplw Tau= 0,05, I get answer Tau=0 and below that ans =5

Iniciar sesión para comentar.

Respuesta aceptada

Stephen23
Stephen23 el 13 de Nov. de 2019
Editada: Stephen23 el 13 de Nov. de 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 comentario
Borna rasperic
Borna rasperic el 13 de Nov. de 2019
thank you very much.....forgot that

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by