Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

I have made a BSFC plot in MATLAB with engine data tested on an eddie current dyno, The code I used for it is:

>> NP=40;

>> [RP TP]=meshgrid(linspace(min(RPM),max(RPM),NP),linspace(min(Torque),max(Torque),NP));

>> BSFC_IT=griddata(RPM,Torque,BSFC,RP,TP);

>> NC=12;

>> Fig1=figure;

>> [CT HT]=contourf(RP,TP,BSFC_IT,round(logspace(log10(210),log10(400),NC)));

>> colorbar;

>> %clabel(CT,HT);

>> xlabel('Engine Speed (rpm)')

>> ylabel('Torque (Nm)')

>> title('Contours of BSFC (g/kWh)')

With all my data this gave me a contour plot that looks like the image I have attached and this is after fiddling with all of the data to make it look 'pretty'.

I know you can use the filter function to smooth out plots, so my question is, how can I use the filter function to smooth out the curves with the complex code I have?

Any help is much appreciated.

Thanks

Alex

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB Filter command for BSFC map

Loading...

Similar Threads - MATLAB Filter command | Date |
---|---|

Dynamic modeling of a system and transients of the system | Feb 7, 2018 |

Analysis of DE Pool Filter as Steam Pressure Vessel | Jan 7, 2018 |

I need help with matlab designing a steady state feedback H2 control system | Apr 29, 2017 |

4DOF Spur Gear System - Eigenvalues not corresponding with EQs? | Feb 22, 2017 |

Simulation of air conditioner in openmodelica/matlab? | Feb 26, 2016 |

**Physics Forums - The Fusion of Science and Community**