Creating heatmap to visualise data

4 Ansichten (letzte 30 Tage)
Sebastian Sunny
Sebastian Sunny am 9 Dez. 2021
Kommentiert: Image Analyst am 10 Dez. 2021
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,

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Dez. 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 Kommentar
Image Analyst
Image Analyst am 10 Dez. 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. 🙂

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by