How can I correctly use the parenthesis and write equations

21 visualizaciones (últimos 30 días)
Nicholas Moung
Nicholas Moung el 29 de Dic. de 2020
Respondida: dpb el 29 de Dic. de 2020
I would like to calculate P_d by the equation above and I wrote that equation in Matlab. I wrote two equations in matlab, but none of them give the correct answer. I beg your corrections on the equations written in Matlab.
Best regards!
  1 comentario
Adam Danz
Adam Danz el 29 de Dic. de 2020
Editada: Adam Danz el 29 de Dic. de 2020
Supplying the text rather than an image would allow us to copy-paste your code so we can examine it from the editor.
Providing a set of inputs and expected outputs would is also a good idea.

Iniciar sesión para comentar.

Respuestas (1)

dpb
dpb el 29 de Dic. de 2020
Pd=Pc*((1+(k-1)/2*ac^2*Vpr^2)^(k/(K-1))-1);
Which inputs might be vectors, if any, would determine where and if need dot operators.
Work from inside out...

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by