Please check my Matlab code!!!??
1 次查看(过去 30 天)
显示 更早的评论
I have 2 set of data (crank angle and pressure). I upload into Workspace. http://www.flickr.com/photos/52175884@N08/8618031267/in/photostream The left column is the Crank Angle, the right column is the Pressure.
But I need to find the plot of Pressure vs Volume. The formula of Volume is given by http://www.flickr.com/photos/52175884@N08/8616297620/in/photostream
I need to write a code, such that the plot of Pressure and volume will shown. Please check my code. http://www.flickr.com/photos/52175884@N08/8619138098/in/photostream
5 个评论
采纳的回答
Image Analyst
2013-4-4
When you square arrays, use ".^2" instead of "^2" - if you use the dot it will do an element by element squaring (each element is squared) otherwise it's a matrix multiplication which is totally different.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!