I am trying to execute the below code to plot the discharge curve of battery for the collected data,but i am getting errors,pls can u help me in this
이전 댓글 표시
clear all clc load B0005; [a1,b1,c1,d1]=voltageextraction(B0005); N1=length(c1); [dis1,tim1] = dischargecut(c1,d1); for i=1:1:N1 P1(i,:)=polyfit(tim1{i},dis1{i},8); end
figure(1) for i=1:10:N1 plot(tim1{i},dis1{i}); hold on; end xlim([0 3500]) ylim([2.4 4.4]) grid on xlabel('Time (s)'); ylabel('Voltage (V)'); title('Discharge curve')
답변 (1개)
Vishal Rane
2012년 11월 26일
0 개 추천
I believe MATLAB is unable to access the function 'voltageextraction' that you are calling from within 'discharge_plotting1' on line 4. Check if it is on the matlab path.
커뮤니티
더 많은 답변 보기: Power Electronics Community
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!