Hi, I have this data with me.
P_load = [0,8000,10000,11000,20000,25000,25000,21000,30000,20000,12000,45000, 12000,45000,23300,12000,15000,17000,20000,16000,12200,1000,2000,100];% Watts
so how can I make it smoother?. I nearly damage my brain now.
Help appreciated.

 채택된 답변

madhan ravi
madhan ravi 2018년 10월 31일

1 개 추천

P_load = [0,8000,10000,11000,20000,25000,25000,21000,30000,20000,12000,45000, 12000,45000,23300,12000,15000,17000,20000,16000,12200,1000,2000,100];% Watts
x=1:numel(P_load)
xx=linspace(1,numel(x),1000)
yy=interp1(x,P_load,xx,'spline')
plot(x,P_load,'or',xx,yy,'-m')

댓글 수: 4

madhan ravi
madhan ravi 2018년 10월 31일
see methods and adapt what suits you the best
Ain Athirah
Ain Athirah 2018년 10월 31일
편집: Ain Athirah 2018년 10월 31일
Thanks sir, it works! :DDD
madhan ravi
madhan ravi 2018년 10월 31일
편집: madhan ravi 2018년 10월 31일
Anytime :) , if you have any questions always ask in this forum instead of struggling alone
Ain Athirah
Ain Athirah 2018년 10월 31일
Sure, thanksss!~:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mesoscale and Multiscale에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2018년 10월 31일

댓글:

2018년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by