how to convert array to vector

3 visualizaciones (últimos 30 días)
Kiki Chung
Kiki Chung el 12 de Ag. de 2020
Comentada: Kiki Chung el 13 de Ag. de 2020
Hi, I have a set of M and theta correspondance data. The thera range from 0 to 0.12 radian. Because I want to proof below eqaution, so I want to plug the theta in to get the new M by this eqaution.
Here is my code:
But I don't know why the result of M become 13x13 table shown as below. I am not sure it is array or not. How can I convert M result to become like theta table?

Respuesta aceptada

David Hill
David Hill el 12 de Ag. de 2020
theta=0:.01:.12;%row vector
M=71420*theta./((1+(theta*71420/94.42).^.5).^.2);%row vector
  4 comentarios
David Hill
David Hill el 13 de Ag. de 2020
You do not need '.' when multiplying by a scalar
Kiki Chung
Kiki Chung el 13 de Ag. de 2020
thank you so much

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by