Plotting multidimensional discrete Data

8 Ansichten (letzte 30 Tage)
Johannes Dechow
Johannes Dechow am 9 Nov. 2020
Bearbeitet: Alan Stevens am 9 Nov. 2020
Hi everyone!
I have some problem visualizing data.
I messured engine power over rpm and torque. Knowing the power input I calculated the efficiency. Now I have 560 values in discrete steps resulting in a 40x14 matrix (basicly 40 different torque settings over 14 rpm settings) and i want to create an area diagram for the efficiency.
In other words: Every column represents one rpm setting (e.g. 250 rpm) and every line represents a torque setting (e.g. 0.1 Nm)
Does anyone have an idea on how to visualize the data? I would like it to look like picture below.
My idea was to use the contour function, but to my understanding it does not work for a 40x14 matrix.
Help is appreciated! Thanks in advance,
Hannes

Antworten (1)

Alan Stevens
Alan Stevens am 9 Nov. 2020
Bearbeitet: Alan Stevens am 9 Nov. 2020
Presumably, for every combination of rpm and torque you are able to calculate an efficiency, so you should be able to use contour
contour(x,y,z)
say, where x and y represent rpm and torque and z represents efficiency. Try doc contour for details.

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by