Problem In curve fitting
Mostrar comentarios más antiguos
Hello, I need to find a function for my data (TW2 and DatiOpt.PERDITE_FERRO) with minimum error. I tried "scatteredInterpolant" without any success. would you please help me to find the best fit for these sort of data? I appreciate your help.
load('TwMap_250Nm_cross saturation.mat');
[TP,VV]=meshgrid(DatiOpt.Tmap,DatiOpt.velmec);
figure(1);
TW2=(VV/1000).^2.*TP;
plot(TW2,DatiOpt.PERDITE_FERRO,'blue*','MarkerSize',2);
xlabel('Torque*Speed^2 [M Nm*(r/min)^2]', 'FontSize', 16);
ylabel('Iron Losses [W]', 'FontSize', 16);
grid on;
title('IPM: Motor Iron Losses', 'FontSize', 16);
figure(2);
f = scatteredInterpolant(TW2,DatiOpt.PERDITE_FERRO);
Loss=f(TW2);
plot(TW2,loss,'blue*','MarkerSize',2);
2 comentarios
KSSV
el 19 de Jun. de 2018
What you want to fit?
Solmaz Kahourzade
el 20 de Jun. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
