Borrar filtros
Borrar filtros

how to write this equation ?

1 visualización (últimos 30 días)
vaya putra
vaya putra el 27 de Jul. de 2018
Comentada: Walter Roberson el 27 de Jul. de 2018
what's the mistake with my code
T=linspace(100,1,10)
mu = @(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963)));
Error: Unexpected MATLAB expression.
please help me
  4 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 27 de Jul. de 2018
I have edited the code and attached the results too, Are you looking for this one? Pls confirm
Walter Roberson
Walter Roberson el 27 de Jul. de 2018
Can you attach the .m file that contains the code? I am wondering if there are some hidden characters.
Also, if the line before the assignment to T was a continuation line ending in ... then the assignment could be a syntax error.

Iniciar sesión para comentar.

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 27 de Jul. de 2018
Editada: KALYAN ACHARJYA el 27 de Jul. de 2018
Its OK, no error
T=linspace(100,1,10)
mu=(0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))))

Más respuestas (2)

Mark Saad
Mark Saad el 27 de Jul. de 2018
T = linspace (100, 1, 10);
mu = @(t) 0.001 .* (0.2414 * 10.^(247.8./((t - 273) + 68.12963)));
mu(T)

vaya putra
vaya putra el 27 de Jul. de 2018
i want to calculate T inside of mu
mu(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963)));
Error: Unexpected MATLAB expression.
  2 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 27 de Jul. de 2018
As per my understanding, you want to calculate mu w.r.t T, Yes?
vaya putra
vaya putra el 27 de Jul. de 2018
yes

Iniciar sesión para comentar.

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by