看板 MATLAB 關於我們 聯絡資訊
會出現下列錯誤訊息: Attempt to reference field of non-structure array. clc; clear; x1=[0.01,0.1,1,2,3,4,5,6]; y1=[1.1,1.05,2.2,7.1,20.2,60.3,145.6,402.8]; x2=[0.01:0.02:6]; y2=exp(x2); subplot(1,2,1) plot(x1.y1,'*b',x2,y2,'-k') subplot(1,2,2) semilog(x1.y1,'*b',x2,y2,'-k') 請問要怎麼改,謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.214.155
DKer:x1.y1 這啥? 10/30 21:45
Raymond0710:....112我覺得這有點誇張,才幾行debug都不會嗎? 10/30 21:52
angu81681652:感謝DKer 10/30 22:15