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

0 Stimmen

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 Hilfe-Center und File Exchange

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by