Creating heatmap to visualise data

2 views (last 30 days)
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

Image Analyst
Image Analyst on 9 Dec 2021
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
Image Analyst
Image Analyst on 10 Dec 2021
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

Find more on Data Distribution Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!