Creating heatmap to visualise data
조회 수: 2 (최근 30일)
이전 댓글 표시
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,
댓글 수: 0
채택된 답변
Image Analyst
2021년 12월 9일
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
Image Analyst
2021년 12월 10일
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. 🙂
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!