I'm trying to solve this problem by myself "Animation and Model of Automotive Piston" but I'm getting an error when ploting the graphs as mention in the problem btw pistonheight & crank angle?

1 view (last 30 days)
Warning: Function behaves unexpectedly on array inputs. To improve performance, properly vectorize your function to return an output with the same size and shape as the input arguments
this is a practice problem in "intro to sybolic math"
  4 Comments
Walter Roberson
Walter Roberson on 7 Aug 2019
Akash Vyas comments to me,
Yes, in this problem the first fplot in which theta is varying from 0-2π is showing error in my system
Walter Roberson
Walter Roberson on 7 Aug 2019
I do not encounter any problem when I execute the example.
I suspect that you might accidentally have an interfering function, from your own code or from some third-party software. Try
restoredefaultpath
rehash toolboxcache
and then try again.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!