Using an equation to calculate value for each number in data set
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there,
I have a data set with 122736 x 1 values. I have an equation I want to apply to each value in the data set, to get a new variable of 122736 x 1, but representing a different term.
The equation is attached below.
So the data set I have is my T value. And the new data set I want to create will be the P value.
Any suggestions is be greatly appreciated.
Thank you :) ![Screen Shot 2019-11-06 at 6.01.46 pm.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246955/Screen%20Shot%202019-11-06%20at%206.01.46%20pm.png)
![Screen Shot 2019-11-06 at 6.01.46 pm.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246955/Screen%20Shot%202019-11-06%20at%206.01.46%20pm.png)
0 comentarios
Respuestas (1)
Bhaskar R
el 6 de Nov. de 2019
Here is your equation
P = 0.61121*exp((18.678-T/234.5).*(T./(257.14+T)));
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!