D=[];Q=[];for d=3:0.1:5m=(pi*((d)^2)*8.9)/4;M=(m/465.96)*1000;syms tq=int (m*(103.60+0.034*t),300, 773);p=vpa(q);%q in joules
D=[D,d];Q=[Q,p];endxlswrite('C:\sharad\asaas',D','B2:B4902')xlswrite('C:\sharad\asaas',Q','C2:C4902')
MATLAB: Why am I receiving “Input data must be a numeric, cell, or logical array.” message when I used p= vpa(q)
cellerror "input data must be a numericor logical array."
Best Answer