Creating heatmap to visualise data

Hi Guys,
I'm trying to plot a heatmap with different data sets in it. I keep getting an error saying there are too many arguments and nothing plots,

 Accepted Answer

The problem is
data = windTurbineModel(windTimeSeries,Cd(j),deltaT,time,k(i));
The function windTurbineModel does not return any data, so it throws an error. Exactlye what variable inside the function were you expecting to return? You need to add it to the function definition line, like
function omegaPower = windTurbineModel(Windspeeds,Cd,deltaT,time,k)

1 Comment

Others, in case you're wondering, no, I don't have the Mind Reading Toolbox yet. The original poster just deleted most of the question.
@Sebastian Sunny thanks for accepting the answer. 🙂

Sign in to comment.

More Answers (0)

Categories

Products

Tags

Community Treasure Hunt

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

Start Hunting!